Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Jul 09, 2008 23:04
open dhtmlx forum
DHTMLX Grid : Passing parameters to the loadXML() and some query on init().

Hi,
I have a query that whether can I pass more than one parameter to the loadXML().
What is the maximum limit that we can give ?

I have written something like this : :
mygrid.loadXML(Gpath+"/fundClassDetails.action?shareclass=asdfasdf"+shareclass+"&cusip="+cusip+"&classinceptiondate="+classinceptiondate+"&classnumber="+classnumber+"&status="+status);
_________________________________________________________________________________________________

Also what parameter can be passed to init();


Answer posted by Support on Jul 10, 2008 02:42
>> What is the maximum limit that we can give ?
There is no any limitation on script level - you can add as many parameters as necessary, but the browser and server side software limit length of used URI to few kbs.
If you need to send a lot of data you can use post instead of get
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3450&ssr=yes&s=grid.post
Answer posted by Support on Jul 10, 2008 02:43
>> Also what parameter can be passed to init();
In current version of grid , init method will ignore any parameters. This command just render grid based on defined configuration.