0
누구든지이 그림과 같이 그룹 알파벳 그리드를 만들 수 있습니까? 이 코드로 시도했지만 행이 알파벳순으로 그룹화되지 않았습니다.그룹 alpabet gridview devexpress를 만드는 방법?
Private Sub GridView1_CustomColumnDisplayText(sender As Object, e As CustomColumnDisplayTextEventArgs) Handles GridView1.CustomColumnDisplayText
If e.Column.FieldName = "CompanyName" AndAlso e.IsForGroupRow Then
Dim rowValue As String = GridView1.GetGroupRowValue(e.GroupRowHandle, e.Column)
Dim val As String = Microsoft.VisualBasic.Left(rowValue, 1)
e.DisplayText = val
End If
End Sub
알파벳으로 그룹화되지 않은 행이있는 스크린 샷을 게시 할 수 있습니까? – andrews