Auto select first row Master Grid and subgridS

QuestionsAuto select first row Master Grid and subgridS
Gaƫtan asked 9 years ago

Hi,
I managed to implement the automatic row loading of sub grids when clicking on the row of the Master Grid.
I am now trying to make the first row of the Master Grid to be selected when loading the webpage – hoping to get the sub grids loaded with the relevant data.

Unfortunately, it does not work as expected.
The first row of the Master Grid gets loaded, but the Sub Grid does not report any data.
If I manually refresh of Sub Grid (via the Sub Grid toolbar), the correct data then get loaded.

I have checked Firebug and it looks like the Master ID does not get to the sub grid level on the web page get loaded…

I try to follow instructions on the following post:
https://phpgrid.desk.com/customer/portal/questions/11624713-select-first-row-in-master-on-load

Here is my current code:
http://pastebin.com/YimJsCrb

Thanks.

Your Answer

4 + 11 =

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?