I want to store the user's selected rownum into the session variable, how can I go about this?
You can get JS callback of row selection (refer editing/custom-events.php) js_on_select_row.
And then in function you can write some ajax call to send selected ID on php side and save it in session.
I don't think I explained very well, it is the number of records displayed in the grid which I believe is saved in RowNum that I am after.
E.g. If I have the selections set to –
$grid["rowList"] = array(50,100,200);
with a default of –
$grid["rowNum"] = 50;
If the user changes it to 100, I want to save the 100 in session to use the next time the user goes to the page.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?