Hi,
I have dropdown button. on Click of this dropdown button ultragrid get opens.
This grid is Infragistics.Win.UltraWinGrid.UltraGrid in which it has columns and rows.now i want to make dropdown button enable so that user can see the details of grid i.e. rows and columns but do not allow user to select the data in the grid.
Can you please help me how can i set the data in the grid in so that user can see it but cannot select.
Please reply ASAP.
Thanks
This will help:
HOWTO:How can I make a grid or a column, row, or cell in the UltraWinGrid disabled or read-only?
Also, you might want to check out the following properties on the grid.DisplayLayout.Override:
SelectTypeRow, SelectTypeCol, SelectTypeCell - These properties control what the user is allowed to select in the grid.
CellClickAction - This determines what happens when the user clicks on a cell.
And if you want to turn off the Focus rectangle, this should help: HOWTO:How can I turn off the Focus Rectangle on an Infragistics Win Control?
That link on how to make it read-only is no longer valid.
Very helpful.
Thanks for reply.
I have One more issue.
Like I have Header in which on double click of grid I am getting value. But I have to set certain condition if status of order is cancel then on double clicking of gridvalue should not get.
So Now I am enable to set this condition on header. When I try to set this condition in header its giving exception that "Object reference set to an Instance"
Please reply ASAP. Its urgent