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

Power User

Joined: 19/08/2019 10:56:59
Messages: 28
Offline

There is a demo (Header and Footer) where you have shown how we can implement a filter component for column values in the header.

We're now facing the problem, that we build some columns of the fixgrid at runtime - and your example for filtering is built rather statically.

So my thoughts were: would it be possible to include such a feature per default in the fixgrid? Offer a filter component (textfield) for all _filterable_ columns (eg. all labels, text fields, ..)? This would give the fixgrid a huge benefit for the future

I hope you can consider adding such a feature

br
Manuel

Manuel Laggner, FRITZ EGGER GmbH & Co. OG
CaptainCasa

Power User
[Avatar]

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

Hi Manuel,

the FIXGRID itself should stay as basic and as UI-only as possible.

Such add-on function should be from our perpsective part of a page bean component., which then assembles the FIXGRID with corresponding fields internally. - At the end it also means that the FIXGRID must bind to some more sophisticated data structure (currently the grid holds all rendered items, in a filter scenario, it should both hold all items and the rendered ones in parallel).

We implemented such page bean component as part of the DOF framework: please check in the demo workplace: Addons => DOF => Rendering a list of beans.

Could you take look into this demo?

Regards, Björn

Björn Müller, CaptainCasa GmbH
mlaggner

Power User

Joined: 19/08/2019 10:56:59
Messages: 28
Offline

Thanks for the information - I did not find this before..

Just two more questions:

a) is it possible to render columns with icons/different background/... (depending on the row data) in DOF too?
b) where/how did you pass the meta data in the "Rendering a list of beans" demo? I did not find it (yet)

thanks in advance

Manuel Laggner, FRITZ EGGER GmbH & Co. OG
CaptainCasa

Power User
[Avatar]

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

Hi,

we will extend the demo workplace - where this information is missing. New update is planned for this noon. So we ask you for patience on this...

Thanks + Regards! Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

Update 20200914 is published in the meanwhile. Please check the new page bean component CCDataGridView in the demo workplace ("News" section).

Björn

Björn Müller, CaptainCasa GmbH
mlaggner

Power User

Joined: 19/08/2019 10:56:59
Messages: 28
Offline

Awesome new component! great job

But I do miss some smaller things (especially for column configuration):

- action listener
- abbreviated text
- tooltip (although I saw this has been set to the title)
- background color (property)
- bgpaint
- drag and drop support (dragsend, dropreceive)
- maybe sortreference? (but putting the property name to the sort reference would be OK for me)

And if it would be doable - column sums/totals (like in the SAP ALV Grid)

Thanks for listening
Manuel

Manuel Laggner, FRITZ EGGER GmbH & Co. OG
CaptainCasa

Power User
[Avatar]

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

Hi Manuel,
this component was built for Extense-ability! ;-)
In the Developer's Guide there is a corresponding chapter (Page Bean Components), please check...
Regards, Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

...and some info.

1. @events: there is a call back (extend component's DefaultListener class) for reacting on select/execute

2. @abbreviated text: this is so easy for us to add - we will do this.

3. @background color: there is a callback in the component's listener. See methods calculateRowBackground/Foreground

4. @sortreference: yes default is propertyName is sortReference

There is also a mechanism to bring up a popup menu in Listener: reactOnPopupMenuLoad/Invoke

Regards, Björn

Björn Müller, CaptainCasa GmbH
mlaggner

Power User

Joined: 19/08/2019 10:56:59
Messages: 28
Offline

Thanks for the valuable input - this looks promising to me.

I'll try to adopt my code to the new component in the next days

Manuel Laggner, FRITZ EGGER GmbH & Co. OG
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team