[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Connected grids with dynamic row height  XML
Forum Index -> Development
Author Message
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

I have to grids connected, via connectWithBinding

In the right grid I have dynamic row height activated, how can I synch the heights to the left grid as well?

regards
Markus
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi Markus,

this feature is not available for connected grids. Connected grids must have stable row heights.

Kind regards! Björn

PS: exception: if the row height is directly defined by using FIXGRIDItem-setRowHeight(...) - but I believe you are asking for row-height-sizing by content...

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

ok, so I can't mix?
Right grid dynamic row height sizing
Left grid sthg like that:
Code:
 public FIXGRIDListBinding<GridItem> getGridLeft() {		
 		int size = gridRight.getRows().size();
 		for(int i = 0; i < size; i++)
 			gridLeft.getRows().get(i).setRowHeight(gridRight.getRows().get(i).getRowHeight());
 		
 		return gridLeft;
 	}
 
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5519
Offline

Hi,

there are two ways of dynamic row height sizing:

1. Demo Grid&Trees > Flexible row heights > For content rows - by server dfinition

2. Demo Grid&Trees > Flexible row heights > Row heights by content

In conntected grids:

1. works
2. does NOT work

Kind regards! Björn

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

ok, thx
[WWW]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team