Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
19559 | Sep 29,2004 05:32 AM UTC | Sep 29,2004 05:59 AM UTC | WinForms | 1 |
![]() |
Tags: GridControl |
Private Sub gridControl1_CurrentCellShowingDropDown(ByVal sender As Object, ByVal e As Syncfusion.Windows.Forms.Grid.GridCurrentCellShowingDropDownEventArgs) Dim cc As GridCurrentCell = Me.gridControl1.CurrentCell If Me.gridControl1(cc.RowIndex, cc.ColIndex).CellType = "GridListControl" Then Dim cr As GridDropDownGridListControlCellRenderer = cc.Renderer ''cr.ListControlPart.AutoSizeColumns = False cr.ListControlPart.Grid.ColWidths(1) = Me.gridControl1.ColWidths(1) - 1 cr.ListControlPart.Grid.ColWidths(2) = Me.gridControl1.ColWidths(2) - 1 e.Size = New Size(Me.gridControl1.ColWidths(1) + Me.gridControl1.ColWidths(1), e.Size.Height) cr.ListControlPart.Grid.HScrollBehavior = GridScrollbarMode.Disabled End If End Sub
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.