Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Darshita Patel on Aug 13, 2007 20:42
open dhtmlx forum
Dynamic loading with .NET and SQL

Hello, I am registered user and have commercial version.

I am trying to use dynamic loading iwth paging.

My data is coming out from sql server. I am setting up my grid exactly like sample provided for .net. action page has createXML method that generates xml from dataset. Do I need to do anything special to get the dynamic loading work with paging? I have below code to initialize the grid but it doesn't seem to dynamically load the data. Everything is loaded in the first phase.



parentGrid = new dhtmlXGridObject('gridbox');
parentGrid.setImagePath("imgs/");
parentGrid.setHeader("col1ID,2, 3, 4, 5");
parentGrid.setColTypes("ed,ed,ed,ed,ed");
parentGrid.setInitWidths("100,100,25,100,50")
parentGrid.setColAlign("left,left,left,left,left")

parentGrid.setColSorting("str,str,str,date,str")
parentGrid.enableMultiselect(true)
parentGrid.setEditable(false);
parentGrid.preventIECashing(true);


parentGrid.enablePagingWT(true,5,3,"parentGridArea");

parentGrid.init();

var loadDataURL = "action.aspx?type=createXML";

parentGrid.setXMLAutoLoading(loadDataURL);
//load grid content
parentGrid.loadXML(loadDataURL);


Please, help!
thanks,
Darshita
Answer posted by Embre (Support) on Dec 11, 2014 05:38

The information connected with spring integration forum and javascript combo selected value also can help you, so please check it too.