PDA

View Full Version : [CLOSED] TreePanel columns width



Prasoon
Dec 09, 2015, 5:49 AM
Hi Team,

I have a requirement of using a TreePanel, where user can re-size column width and also they can click on column sorting option, my requirement is that i need to save these details, so that if user re-logins he/she gets the same structure (changed width or sorting order).

please guide.

thanks and regards,
Prasoon

Daniil
Dec 09, 2015, 1:36 PM
Hi @Prasoon,

Please try:
<ext:ResourceManager runat="server" StateProvider="Cookie" />
and
Stateful="true"
setting for the TreeGrid.

If it doesn't work or you need to save state to a database, then please listen to a TreePanel's ColumnResize and SortChange events and send required data to server via a DirectMethod or a DirectEvent and save to a database. Then you could use this data configuring components for initial load.

Prasoon
Dec 11, 2015, 2:45 AM
Thanks Daniil, i will check this and get back.

Please mark it as CLOSED.

thanks and regards,
Prasoon

Prasoon
Dec 11, 2015, 4:05 AM
Please ignore this.