How to get Top 10 selected rows from a data grid2 when click on selectAll button

0
   when i click on select all all the records in the data grids are getting selected but now i want to select only top 10 records which is showing in the pagination  of this data grid 2. after 2nd pagination it should not select  if they click on selectAll again via going to the pagination in that case only it should select.
asked
0 answers