[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Linenumbers in grids  XML
Forum Index -> Development
Author Message
gargula

Power User

Joined: 18/01/2008 13:01:44
Messages: 34
Offline

Hi community,

is it possible to add linenumbers in Fixgrids and Arraygrids in a easy way?
We have a bad solution for fixgrids... we have a counter, who is run by adding lines in the grid... But sometimes we' ve a strange behavior if we sort it...

It should be possible by the grid self...

Sry for this bad english... I hope you can understand my problem..

Rg
christian
CaptainCasa

Power User
[Avatar]

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

Hi,

we - based on your request - did the following extensions:

(1) with GRIDROWSELECTOR we now added an attribute SHOWINDEX - in this case the line number will be output. You also can select the row via the selector, in this case the line number will be output in bold font

(2) with ARRAYGRID we added an attribute SHOWGRIDROWSELECTOR - in this case a first selection column will be output in front of the data columns. You can specify if you want to see the row index (as with (1)) or not...

Thanks for your input! Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

...update on this:

ARRAYGRID and FIXGRID will from next update on provide a flag "SELECTORCOLUMN" which you can set to 0 (no selector), 1 (icon), 2 (row index). The selector column is not taken into the normal column counting (e.g. when defining the sequence of columns).

Björn

Björn Müller, CaptainCasa GmbH
gargula

Power User

Joined: 18/01/2008 13:01:44
Messages: 34
Offline

it works fine. The columnsequence und widths isn't effected by adding this feature...

Thx for the quick solution!!!

Rg
Christian
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team