Hello,
We recently upgraded to your new 14.2 software and I am experiencing some issues I had not noticed before. A big one was that the function we bound to the check boxes was firing three times per click.
//Only show the Toolbar for Grid Modification Options if a Row is selected in the Grid $("#grid").bind("iggridselectionrowselectionchanged", toggleToolBar);
$('#grid').bind("iggridrowselectorscheckboxstatechanged", toggleToolBar);
toggleToolBar is being call from nowhere else in our code, however it is ran three times on select and three times on deselect. Is this supposed to be like this?
Also, I noticed with your new bootstrap theme we can use on the grid, the row behaves oddly when you select it. Mainly, It blanks out the entire row unless you hover over it. I will attach a few screenshots to show what I mean.
Thanks,
Julie
Julie,
I took the information you provided and put together a jsFiddle sample. When I select one of the rows I only have the event firing a single time. This sample uses the latest version of 14.2 and the bind approach for setting up the event. Please review the sample and let me know if this is an accurate example of how you have implemented your grid and the event. If it is not, please provide me with a small sample or a modified Fiddle that demonstrates the issue you are seeing.
As a note, while it won't likely solve the issue you are facing you may want to consider using jQuery's on function as it is recommended to use for attaching event handlers in jQuery 1.7 and later.
If I may be of any other help please let me know.
Hello Jason,
I had trouble getting Troy's example working. I was able to fix the theme issues. I looked more into the selection issue and removed $('#gridScheduling').bind("iggridrowselectorscheckboxstatechanged", toggleToolBar); becuase it was redundant but, I am still having the issue of my function toggleToolBar running twice per selection on the grid. The only place i reference toggleToolBar is when I bind it to the selection:
Hello Julie,
Were you able to resolve your issue with selection with the use of Troy's sample? Please let me know if I may be of any further assistance with this issue.
Hi Julie,
I pulled together a sample draft to test for this issue. I've attached it here to this thread for your reference. I will ask that you finalize the sample such that it reproduces this issue and send back to me. Once I have a sample that reproduces this issue I can proceed to look further into this for you.
This project is developed with VS2013 and uses the Infragistics MVC5 14.2 assembly.
As a note, to account for file size constraints for uploads, I omitted the project's Packages, obj, bin, scripts, and content folders. You will need to add these resources back in to run this project.
Thanks Julie.