Hi.
I have a lot of grids on my project, one of them have a special functionality, when i do click in some place, the row that is editing, end edit and value set, I mean that value is set not only with enter.
Now, I need extend this functionality or generalize to all grids.
In jquery you can apply some action to all elements that have a special class, how I can add this class to all my iggrid or some property to identify all my iggrid? It´s "boring" add the same function for every grid.
$(document).click(function (e) { if ($("#grid1").igGridUpdating("isEditing") == true) { //do something
$("#grid1").igGridUpdating("endEdit", true); //end
//do something
} });
I use jquery iggrid
Thanks
Hello Nana,
After grid widget is rendered on the page, it's rendered with the respective css classes, which you may see in the following API documentation: http://www.igniteui.com/help/api/2016.1/ui.iggrid#theming For your purpose you can use ui-iggrid-table class to access multiple grids at once and apply similar logic to them.
If you have any questions, please let me know.
Regards,Tsanna