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
240
UltraWebGrid - deselecting items on click outside of item area
posted

Hello,

we are using UltraWebGrid for our item selection. If we have in our grid some rows (items) and after I select some rows I would like to deselect them, the best way for user to do it would be click to the webgrid where there are no rows. Is there any easy way how to enable this or script this?

Please see the attached picture, so if I click anywhere where are for example the red circles, it would deselect any previously selected rows.

 

Thank you

 

Parents
  • 49378
    posted

    Hi JakubYksvoloh,

    It has been some time since your post, however in case you still need assistance I would be glad to help.

    The selected rows and cells in UltraWebGrid can be deselected using:

    igtbl_clearSelectionAll("UltraWebGrid1")

    For your requirement a possible approach may be to subscribe an onclick event to the grid's main div, which can be accessed using:

    igtbl_getGridById("UltraWebGrid1").DivElement

    Please feel free to contact me if you have any questions.

Reply Children