navigation buttons on viewGridRow popup

Questionsnavigation buttons on viewGridRow popup
DJ asked 2 months ago

Hello I have defined the following event on selecting a row

$grid[“form”][“nav”] = true;
$e[“js_on_select_row”] = “do_onselect”;
$g->set_events($e);

function do_onselect(rid){
grid.jqGrid(“viewGridRow”, rid, {});

Now this works great but the navigation buttons in the modal popup seem not to relate to any order like they are displayed, with or without filter. So next goes to another record to highlight & display but not the next in the grid.

Is there a way to make the navigation in the modal display form work in sequence? Or force the sequence?

Cheers,
DJ

3 Answers
Abu Ghufran Staff answered 2 months ago

I’ll be updating you back after regenerating the screnaio.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
DJ answered 2 months ago

 

Thanks! I realize that I have also a sort defined, like.

$grid[“sortname”] = ‘Date’;
$grid[“sortorder”] = “asc”;

Maybe this sort is not maintained in this navigation. Just thinking now about this, Not sure how to test yet.

Abu Ghufran Staff answered 2 months ago

I tried to regenerate the case but it’s working as expected, means view dialog navigation matches the selection of rows on grid and with sequence.

Please share screencast showing the issue and the related grid code.

Also make sure you have first column of the grid set to PK or unique, so as to separate each row from other.

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

3 + 0 =

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?