on trigger reloadgrid and autoscroll to specific rowid

Questionson trigger reloadgrid and autoscroll to specific rowid
Vygandas Pigaga asked 4 years ago

Is there a way ?

1 Answers
Abu Ghufran Staff answered 4 years ago

Hello,

In loadComplete event you can call setSelection(rowid);

$opt[“loadComplete”] = “function(){ jQuery(‘#list1’).jqGrid(‘setSelection’, 123, true);}”;

where list1 is grid-id and 123 is rowid to focus and select.

Limitation is this id should be on first page, or you can set listing order by to make it on first page.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

14 + 10 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?