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
885
How to select whole row on click of a cell
posted

I have Row Selectors to select a row. However I explicitly turned off cell selection(no editing of cell allowed). But sometimes I feel that we should be able to select a row by clicking on a cell. It think that it is normal use-case, I don't know whether it is possible in UltraGrid.

My requirement is as follows: Can I select a row by clicking on a cell(where cell editing is not allowed) and How do I catch that RowSelector event?

And also one more thing is that Can I have Field chooser button when RowSelectors turned off(or no row selectors). Which means I have UltraGrid where there is no meaning of selecting a row (used to see the results only). But I want to have FiledChooser. But I found FieldChoosers displays only when RowSelectors turned on.

 

Thanks in advance,

Sanjeev.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Sanjeev,

    If you turn off the RowSelectors, then there is no place in the grid for the ColumnChooser button to appear. But you could show the column chooser in some other way - like with a button on the form or from a context menu.

    To show the ColumnChooser in code, just call the ShowColumnChooser method on the grid.

Children