Hi:
I use GridControl and set cellType to be "GridListControl".
Please see the attachment. Because the content of "Comment"
is too long, I let user resizing the column width by himself.
However, last column width can not be adjusted to longer!
Please help.
By the way, is there any method to let the dropdowngrid show scroll bar automatically while width of grid is not enough?
////////////////////
code snippet:
Dim cc As GridCurrentCell = grid1.CurrentCell
Dim listCtrlPart As GridListControl = CType(cc.Renderer, GridDropDownGridListControlCellRenderer).ListControlPart
grid1(cc.RowIndex, cc.ColIndex).DataSource = ...
grid1(cc.RowIndex, cc.ColIndex).DisplayMember = ...
grid1(cc.RowIndex, cc.ColIndex).ValueMember = ...
listCtrlPart.Grid.ResizeColsBehavior = GridResizeCellsBehavior.ResizeSingle
Resize last column width_d702fd6f.zip