Check/Uncheck Select All header checkbox using jquery
New DiscussionHi,
i wanted to check or uncheck SelectAll header checkbox on specific condition. so how can i check do that programmatically.
I found some workaround to do it programmatically.
$(‘#ig1’).find(‘[name=”hchk”]’).data(“chk”,”off”).find(“span”).removeClass( “ui-igcheckbox-normal-off” ).addClass( “ui-igcheckbox-normal-off” );
but above work around fail when checkbox clicked and checked previously and using above code i unchecked it and then clicked to checked that time it actually perform deselection of rows but it must perform Selection of all rows.
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
2 Created On
Sep 26, 2019 Last Post
6 years, 5 months ago