[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Persist FIXGRID Layout  XML
Forum Index -> Development
Author Message
bthalheim

Power User

Joined: 05/04/2012 11:45:24
Messages: 72
Offline

Hi,

I'd like to persist Column Widths and Column Details.
I have found already org.eclnt.client.elements.impl.FIXGRIDElement.m_columnsequence etc.
Unfortunately, it seems no extension points are available to hook into this (in comparison to that, Splitpane#dividerlocation is a clear extension point), since I only use FIXGRIDLISTBinding and FIXGRIDItem in my UI Class.

Any ideas how I can get into this topic?

Thanks,

Björn
CaptainCasa

Power User
[Avatar]

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

Hi,
there is interface IFixGridPersistence and IFixgridPersistence2. The implementation class is defined in system.xml:

Code:
     <!--
       *************************************************************************
       Configuration of general fixgrid attributes
           optional: persistence = class name of IFIXGRIDPersistence(2) implementation
           optional: exportcharagersetcsv, exportcharactersetxml = Export format for csv and xml export
       *************************************************************************
      -->
     <!--
      <fixgrid
         persistence="org.eclnt.jsfserver.util.fixgridpersistence.DefaultFIXGRIDPersistence"
         exportcharactersetcsv="UTF-8"
         exportcharactersetxml="UTF-8"
      />
      -->
 


Default Implementation is class DefaultFIXGRIDPersistence.

Regards, Björn

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