Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
How to disable row selector
posted

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

Parents
  • 469350
    Offline posted

    What do you mean by "it failed"? Is this giving you an error? 

    When you say "the default row selector is nothing", what do you mean? Does this mean you don't want the row selectors to show up at all? If thta's the case, then the line of code you have here is correct. If it's not workiing, then something else must be happening after that line of code to turn the row selectors back on. Perhaps you should move that code into the InitializeLayout event of the grid. 

Reply Children