function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

getting the row index from the Page Block table



how can we get the index of the selected row from the page Block table to the apex class ,


On click java script can be used to populate the record id into a hidden field on page 


Wrapper class can be used with a boolean column.


 I am inserting the record  so  i dont have record id and wrapper class makes my code complex so i need to know the row index of the focussed column.



is there any way from java script to find the row index of the pageblockTable ?? 

Axaykumar VaruAxaykumar Varu


Hi Jerry,

check This link,might be helps you..




Akshay kumar