OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
Search
Recent Topics
Member Listing
Back to home page
Register
/
Login
setColumnsequence
Forum Index
->
Development
Author
Message
10/02/2011 12:07:23
Subject:
setColumnsequence
dstrigel
Power User
Joined: 09/12/2010 09:23:42
Messages: 69
Offline
Hi,
We are using FIXGRIDListBinding and the amazing popup dialogue onEditColumnDetails
We create the list and set setColumnsequence with dynamic values
list.setColumnsequence( "some value from DB");
Now if you press in the popup the "Back to default!" button the preselected colums are gone...
public void onBackToDefault(ActionEvent event)
{
m_grid.setColumnsequence(null);
m_grid.setModcolumnwidths(null);
if(m_listener != null)
m_listener.reactOnClose();
}
Default for setColumnsequence should not be "null" but should be the original value.
Is there a way to switch back to the previous value?
Regards, Daniel
10/02/2011 12:29:59
Subject:
Aw:setColumnsequence
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
A workaround would be if you override the method setColumnsequence, you may can react in a special way if the parameter is null?
regards
Markus
10/02/2011 12:51:00
Subject:
Re:setColumnsequence
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
Hi,
what Markus says is likely to work! ;-)
Neverthelesse, this is something where we should provide some better API...: we will add a function setDefaultColumnsequence(...) into FIXGRIDBinding. Is part of next update or on request.
Björn
Björn Müller, CaptainCasa GmbH
10/02/2011 13:07:54
Subject:
Re:setColumnsequence
dstrigel
Power User
Joined: 09/12/2010 09:23:42
Messages: 69
Offline
perfect, thanks!
Daniel
Forum Index
->
Development
Go to:
Select a forum
CaptainCasa Enterprise Client
-------------
Development
Deployment
Product
Community
Development - Code Snippets
CaptainCasa Structured Data Manager - CC-SDM
-------------
All Issues
Powered by
JForum 2.1.6
©
JForum Team