i have gridview accessible headers can choose options drop down. have function in jquery avoid sorting on applying nosort class on header. want if count of rows in gridview greater 500, should add class nosort on gridview headers on drop down selected index change , if less should remove nosort header
you can make use of gridviews "header style" property..:)
once after loading data grid, make sure, run following snippet like:(assuem id of gridview gvsagar):
gvsagar.headerstyle.cssclass="requiredclassname";
Comments
Post a Comment