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
580
UltraGrid disable row select, keep multiple cell selection
posted

I am using UltraGrid v 9.1.  I would like to allow user to select multiple cells in a grid (across multiple rows) but not whole rows – user can select all cells in a row but not a row. I have some custom copy logic working on cell basis. The same situation is for columns – user should be able to select all cells in a column but not a whole column.

I have managed to solve my column problem by setting SelectTypeCol to None – user is no longer able to highlight column, but still can select cells across different columns.    

I can’t figure out how to disable multiple row selection. RowSelectors are set to false. The only way user can highlight multiple rows is by clicking column and then moving mouse across cells. Is not very consistent – sometimes it will highlight few cells sometimes rows??

I have tried to set SelectTypeRow to None expecting a similar behaviour as for  SelectTypeCol but in that case I can only select cells from one line.

Could someone point me in the right direction?