I am frustrated trying to get an UltraDropDown to work in an UltraWinGrid cell.
I have tried configuring it with the Ultra Designer . . .
and in code . . .
but I get no UltraDropDown showing in that column.
This is an unbound grid wired to an UltraDataSource in Col 1 . . . works great.
But a later column in the same grid is to contain a dropdown and just does not
want to work . . . I do not see the little dropdown icon appear when hovering as
it does in the SamplesExplorer (frmUltraDropDown.vb).
Thank you,
XPXJ
My guess is that the column is not editable for some reason. Are you setting Activation or CellActivation to disable editing in the column? Or is the data source column Read-Only?
I found that making the UltraDataSource updateable was the answer . . . .
once the UDS became updateable then the UltraDropDown began to function . . .
Follow on: now the WinGrid is showing the little pencil icon and ellipsis in the
far left margin when user selects from the UltraDropDown. We don't need/want
the pencil icon. This Grid is merely used to operate the UI to select a robot, click
a button and move on to the next form. Yes the Grid is bound, to a table of robots in col 2,
and an UltraDataSource in col 1, but only for the purpose of allowing the user to select a robot in one column and
click a button in another column to kick-off a process. No updates will occur with
this Grid . . . . yet the pencil icon indicates an update in suspense.
How can I have an updateable UDS, yet not see the pencil icon ?
Thank you, Mark,
Hi Mark,
You could use the RowSelectors property of the grid to hide the RowSelectors completely. Or you can use the CellChange event of the grid to call the Update method on the row - this would commit any changes made and thus remove the pencil image.
Still a third option would be to use a DrawFilter to prevent the pencil from drawing.