[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
fixgrid with variable height of rows  XML
Forum Index -> Development
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

Is it correct that a fix grid has exactly only one property "rowheight" which is then applied to all rows.

What we would need:
- at minimum allow to separatly specify the height of the header row.
- better still: allow to specify row height individually for each row.

It looks like that with these changes, the fixgrid is not so "fix" any more, so maybe this will give a new control named "flexgrid".
CaptainCasa

Power User
[Avatar]

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

Hi,

the ROWHEIGHT is applied to all lines including header and footer lines. We could open up to separately define the row height of header and footer lines - which makes sense in case you define a quite high ROWHEIGHT.

We added it to our mid term items list.

An individual row height is not "appropriate" ;-) This is the nature of the grid. Otherwise e.g. scrolling will be a problem. The grid reuses cells, i.e. when scrolling through the list then actually the data behind is pushed through the grid cells. We do not say that this is un-doable but just doubt if we should really spend the effort.

You also have the possibility to generate the XML from your application for a certain area. I.e. in HTML you typically generate some content by producting HTML dynamically - the same you can do with XML of CaptainCasa, too, of course. E.g. in the tools, the documentation, control overview is built in this way. Then you may put into a scrollpane etc.

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

With today's update (published in late afternoon) we added the following attributes:

FIXGRID-HEADLINEROWHEIGHT
GRIDFOOTER-ROWHEIGHT
GRIDHEADER-ROWHEIGHT

Now, you can flexibly assign a height to the headers/footers. The content lines are still defined via ROWHEIGHT - each content line having the same height.

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team