dduffy
5 Jul 2010, 8:02 AM
Hi there,
I have a combo box which talks to a server side script and executes when the user starts to type in the combo box, all is working fine until I turn on pagenation. I use Oracle DB and PLSQL as the server side language.
both limit and start are reserved words in PLSQL, luckily EXTJS allows these to be over ridden, which I have utilized with a Grid and JSONStore, but this does not work for a combo box.
This is my code for the JSON store:
remoteJsonStoreCombo = new Ext.data.JsonStore( { fields : comboFields,
baseParams: {column: "fullName"},
url :"cp_attendance_enquiry.ajax_get_employee",
root : "records",
totalProperty: "totalCount",
id : "ourRemoteStoreCombo",
paramNames: { start: "p_start",
limit: "p_limit"}
} );
as you can see I have changed the parameters for both start and limit. but EXTJS still sends the parameters as limit and start, see screen shot below:
21270
Any help apprecaited.
Darragh
I have a combo box which talks to a server side script and executes when the user starts to type in the combo box, all is working fine until I turn on pagenation. I use Oracle DB and PLSQL as the server side language.
both limit and start are reserved words in PLSQL, luckily EXTJS allows these to be over ridden, which I have utilized with a Grid and JSONStore, but this does not work for a combo box.
This is my code for the JSON store:
remoteJsonStoreCombo = new Ext.data.JsonStore( { fields : comboFields,
baseParams: {column: "fullName"},
url :"cp_attendance_enquiry.ajax_get_employee",
root : "records",
totalProperty: "totalCount",
id : "ourRemoteStoreCombo",
paramNames: { start: "p_start",
limit: "p_limit"}
} );
as you can see I have changed the parameters for both start and limit. but EXTJS still sends the parameters as limit and start, see screen shot below:
21270
Any help apprecaited.
Darragh