-
3 May 2007 12:00 AM #11
I'm thinking of adding to my ListRange class, things like return status level, (SUCCESS, WRANING and FATAL), and return message, so that errors which break the grid, and failures which don't break the grid, but cause individual operations not to work can be handled elegantly by the Grid.
-
13 May 2007 1:28 AM #12
about api Ext.onReady .
the Ext.onReady(GridUI.init) is also running in the application
I do not understand the difference of
Ext.onReady(GridUI.init, GridUI, true);
and
Ext.onReady(GridUI.init);
most demo of the yui is onReady(Function fn) and
could you tell me how to use onReady(Function fn, Object scope, boolean override)?
thanks.
-
13 May 2007 2:16 AM #13
Read some javascript tutorials.
scope is what the "this" reference refers to when the function executes.
If you don't specify it, it is the window, which is the cause of a lot of noobie problems which causes them to start bleating about how difficult Ext is to program.
-
12 Jul 2007 9:59 PM #14
DWRProxy - how to get the value of successProperty
DWRProxy - how to get the value of successProperty
I consider handle server error during grid loading. I have add the successProperty as follows:I'm thinking of adding to my ListRange class, things like return status level, (SUCCESS, WRANING and FATAL), and return message, so that errors which break the grid, and failures which don't break the grid, but cause individual operations not to work can be handled elegantly by the Grid.
But I don't know how to get the value of successProperty. Can anyone help me?Code:dsUser = new Ext.data.Store({ proxy: new Ext.data.DWRProxy(SysFacade.findAllUsers, true), reader: new Ext.data.ListRangeReader( {id:'id', totalProperty:'totalSize',successProperty:'success'}, recordType), remoteSort: true });
-
15 Jul 2007 1:33 AM #15
The code link is broken, please fix it.
The code link is broken, please fix it.
The code link is broken, please fix it. Thank you!
-
21 Jul 2007 2:51 PM #16
-
30 Jul 2007 7:04 PM #17
Cann't run on IE 6
Cann't run on IE 6
On FF is OK
Cann't run on IE 6sunyson
-
6 Aug 2007 6:09 PM #18
Works in IE too
Works in IE too
There is a bug in line 36 ( Extra , in specifiying the column model). If you remove them it works fine in IE
Thanks
Bharani
-
13 Aug 2007 6:25 PM #19
-
13 Aug 2007 7:35 PM #20
bcos it is a remote sort demo
bcos it is a remote sort demo
The example is a demo for remote sort i.e. sort in the TodoImpl.java. But if you see the code it just prints the same stuff. Thatz why it didnt in the grid.



Reply With Quote