Ways of getting Gridview row count excluding header

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under jQuery category on | Points: 40 | Views : 197
1st way:-
var len3 = $("#grid_view_employee tr").not("thead tr").length;

2nd way:-
var len4 = $("#grid_view_employee").find("tr").not("thead tr").length;


thead is for header as this includes also in row count.

Comments or Responses

Login to post response