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
85
igGridSelection - make selections only using the row selector check box
posted

Hello,

I have a grid with igGridSelection enabled and i am using the row selectors.  The check boxes work fine, allowing a user to select multiple rows with ease.  However, if they click outside of the check box, they will select that row and also lose any other rows selected.  How can I disable the row selection when the user clicks anything that isn't the row selector checkbox?  

Currently I am trying to stop it in the rowSelectionChanging event.  The only problem here is that neither the evt or the ui variables exposes a difference based on where the user clicked, despite it being obvious that the tool is handling the two separately.  In chrome, I can use event.currentTarget to tell the difference, but I do not have this option in Firefox 24 which my client is using.  Also, the rowSelectorClicked event in the igGridRowSelectors api fires when someone clicks the row selector's cell, but not the selector itself.  Any help would be greatly appreciated.

Parents Reply Children