tab grids inside sub grid

Questionstab grids inside sub grid
pavlos nikiforidis asked 1 year ago

I want to use tab grids inside sub grid.

But when i expand a sub grid  and then expand and another one subgrid if the second subgrid is after the first subgrid it doesn’t shows the tabs and instead of tabs shows to grids the one after the other.

1 Answers
Abu Ghufran Staff answered 5 months ago

Hello,

I understand it’s quite late and just to log answer to help others, the reason could be due to the duplicate tab ids.

If your tab ids are same for first row1-subgrid and row2-subgrid then definitely second will not display correctly.

To solve this, Append the rowid with all the tab ids used in subgrid and it will be unique then.
e.g. fetch rowid from master grid and use it with all tab ids.

$rid = $_REQUEST["rowid"];
...
<div id="tabs-<?php echo $rid?>">

 

 

 

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

7 + 6 =

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?