[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Dynamic fixgrid rowselector  XML
Forum Index -> Development
Author Message
mreich

Power User
[Avatar]

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

Hi,

I create fixgrid dynamic by direct ROWDYNAMICCONTENT XML, but when I try to insert a gridrowselector, the width attribute doesn't seems to work?

I use:
Code:
 xml.append("<t:fixgrid avoidroundtrips='true' rowdragsend='" + dragKey + "' drawoddevenrows='true' objectbinding='#{d.EntityListUI.gridList}' persistid='gridList' cellselection='true' rowheight='20' sbvisibleamount='" + maxRows + "' showemptyrows='false' horizontalscrollmode='autowithresize'>");
 // selector column
 xml.append("<t:gridcol columnresizingenabled='false' searchenabled='false' sortenabled='false' width='20'><t:gridrowselector /></t:gridcol>");


The width is always about 60 or 80? Maybe I'm doing sthg. wrong?

Markus
[WWW]
CaptainCasa

Power User
[Avatar]

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

...maybe some additional width info coming due to the persistid? Could you just remove it on FIXGRID level for testing in order to see if there's some influence from this side?

Björn

Björn Müller, CaptainCasa GmbH
mreich

Power User
[Avatar]

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

hmm, I removed persistId, but with no effect!

I found out that this happens only in some grids? In other grids which have exactly the same coding, the width is ok!

By the way I now use your mentioned selctorcolumn attribute in fixgrid, now it works

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