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
kkaalkkaal 

Control Focus in PageBlockTable

I need to control the keyborad focus in a PageblockTable

 

I have a PageBlockTable and I am catching the mouseclicks to show some details of that entry. I should be able to control that via keyboard (up/down key). Can you tell me how to do that?

Pradeep_NavatarPradeep_Navatar

You can use the onkeyup & onkeypress Jvascript fuctions of the PageBlockTable.

 

For an Example :

 <apex:pageblocktable onkeyUp=”yourJavaScript();”onkeyDown=”yourJavaScript();”>

</apex:pageblocktable>

 

Did this answer your question? if so, please mark it solved.