jqgrid help needed

Hi

How to select first row of the grid once search is performed in jqgrid?


Thanks
LVL 3
3xtr3m3dAsked:
Who is Participating?
 
leakim971Connect With a Mentor PluritechnicianCommented:
>How to select first row of the grid once search is performed in jqgrid?

You've an hidden row with the class : jqgfirstrow
I understand you want to select the first visible row.
You may use : $(".jqgfirstrow","#list5").next("tr").click()

>also is there way to check grid load is complete from a outside function?
Why two questions in the same thread? It would be great to create a new one...
A fast answer :

(in your outside function you check value of global_variable_loadComplete)
beforeRequest : function() {
   global_variable_loadComplete = false;
},  
loadComplete : function() {
   global_variable_loadComplete = true;
}

Open in new window

0
 
3xtr3m3dAuthor Commented:
also is there way to check grid load is complete from a outside function?
0
 
leakim971PluritechnicianCommented:
0
 
leakim971PluritechnicianCommented:
Thanks for the points!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.