Hi,
after spending a considerable amount of time, trying to figure out where I was wrong, and even starting a separate thread (http://forums.smartclient.com/showthread.php?t=17863) I come up with the following issue.
If you have filter editors allowed for your ListGrid component (setShowFilterEditor(true)),
and if you have executed at least one time setViewState method, and after that you try for instance to manually reorder any columns - the headers's and fields datas become unmatched, and filter editor fields are incorrectly drawn.
Everything works properly if there are no filter editors allowed (setShowFilterEditor(false)).
I guess it could have some common roots with http://forums.smartclient.com/showth...erences+filter thread.
So, here's the sum up:
SmartGwt library: smartgwtee-2.5 nightly build from 2011-06-30
conditions:
1. setShowFilterEditor(true)
2. setViewState is executed once, at least
action: column reordering
result: data in headers and fields mismatch each other, filter editors are incorrectly drawn.
Thanks!
after spending a considerable amount of time, trying to figure out where I was wrong, and even starting a separate thread (http://forums.smartclient.com/showthread.php?t=17863) I come up with the following issue.
If you have filter editors allowed for your ListGrid component (setShowFilterEditor(true)),
and if you have executed at least one time setViewState method, and after that you try for instance to manually reorder any columns - the headers's and fields datas become unmatched, and filter editor fields are incorrectly drawn.
Everything works properly if there are no filter editors allowed (setShowFilterEditor(false)).
I guess it could have some common roots with http://forums.smartclient.com/showth...erences+filter thread.
So, here's the sum up:
SmartGwt library: smartgwtee-2.5 nightly build from 2011-06-30
conditions:
1. setShowFilterEditor(true)
2. setViewState is executed once, at least
action: column reordering
result: data in headers and fields mismatch each other, filter editors are incorrectly drawn.
Thanks!
Comment