Hi All, When i load the datagrid, i want by the default row selector is nothing, i tried below syntax, but it failed.
datagrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False
Please have a guide for me.
Thanks
I'm afraid I am having trouble understanding the issue.
It sounds like you are talking about the ActiveRow in the grid and not selected rows. It's important to understand that these are two different things and they are not related.
There will always be an Active row in the grid because the grid will snchronize with the current position of the DotNet CurrencyManager by default. You can turn this synchronization off using the SyncWithCurrencyManager property on the grid. I'm not sure if that's what you want.
But even when the grid synchronizes with the currency manager, it does not automatically expand any rows.
But this method seem like only the layout only disappear but the actual the rows is selected.
Actually I am involve the method when the form load generate the GRID, it will auto select a rows and highlighted on it and drill down to another records. I want it when form load generate the GRID and only user click on selected row or cell only drill down to another record.
How can it be done?
FAQ:How do I turn off the ActiveRowAppearance so that the active row in the grid does not appear selected.
anyone can help?
i dun wan the datagrid auto highlited and select the row, what is the syntax?