-
4 Sep 2008 8:10 AM #291
May be the quickest solution is to use Javascript Native Code inside GWT....
-
4 Sep 2008 10:28 AM #292
Interesting problem, I load the data store and data displays in my grid on initial load, aEmployeeDataStore.load({params: {start: 0, limit: 150}});, which matches the settings of 150 in the buffer, and I get no scrollbar. I reload the grid via any action (sort, etc) and I get a scrollbar. Also worth noting it doesn't give me totals or x of y in the bufferedtoolbar.
PHP Architect
New Ext User.
-
4 Sep 2008 10:52 AM #293
-
4 Sep 2008 11:12 AM #294
I tested the newest rc5 with my modification so that I was able to use the fixed and the scrollbar fix too. First of all a big thank to all fixes. It works great so far. But there occures an error if there are less records in de database available than could be diplayed. Imagine like that:
You have an db table with the users. but there are only 2 users in the table. So the livegrid is as height as 10 records could be displayed. The data will be loaded correctly. But if you perform a resize so that only 1 record could be displayed, there is no scrollbar and the second record won't be hidden.
I hope you understand what I mean. Maybe you can test it too an tell me wheter it is a bug or it's just my mistake. If you don't undestand it, don't avoid to ask me!
Kind regards
nctag
-
4 Sep 2008 11:18 AM #295
-
4 Sep 2008 11:28 AM #296
Here you are.
There are 3 screenshots:
1. start situation
2. resize to 2 records
3. resize to 2 and a half record
I performed only those steps that are documented by the screenshots. It should be very clearly for you now. If not, I will set up a live example for you. But it would cost me some work.
Questions or can you follow the discription and the screenshots?
-
4 Sep 2008 11:31 AM #297
-
6 Sep 2008 5:32 AM #298
Hi MindPatterns
I've just fixed another bug. It was the bug reported by me yesterday. So please try out this file and tell me your expirience with it.
As I tested it before It worked really fine and should fix the Ext 2.2 problems (at least the most important of it).
Like every time i fixed something you can reach the recent lines by searching for "fixed by nctag".
-
10 Sep 2008 6:49 AM #299
Hi,
I need to update the current live grid content when a "realtime-event" occurs.
To update the current visible rows I use this function:
However this function only call the server and do not refresh data in the grid.Code:mygrid.getView().updateLiveRows(mygrid.getView().lastRowIndex,true,true);
So I add this function able to refresh grid contents
However I cannot call this function before the function "updateLiveRows" has finished (async callback inside).Code:mygrid.getView().replaceLiveRows(mygrid.getView().lastRowIndex,true);
I can do this but it is not a good way:
Any better ideas?Code:mygrid.getView().updateLiveRows(mygrid.getView().lastRowIndex,true,true); setTimeout( function(){ mygrid.getView().replaceLiveRows(mygrid.getView().lastRowIndex,true); }, 200);
Thanks for your help.
-
10 Sep 2008 7:01 AM #300


Reply With Quote

