Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by oVox on Dec 06, 2007 15:00
open dhtmlx forum
Grid Change LoadXML

Hi! I need to change the LoadXML string this is how is set on onLoad

mygrid.loadXML("Dynamic.php")

when i do scroll (before i sent data to server ) i need to change and sent a queryString Parameter

mygrid.loadXML("Dynamic.php?test=true")

I can do this easy if first i order a column ( im using smart rendering and big data sets ) because i can catch this event but how i catch onScrollingTop?

Regards, oVox
Answer posted by Support on Dec 07, 2007 01:54
Grid has inner onScroll event, which fired for each content scrolling state change, it can be catches in default way

grid.attachEvent("onScroll", function(left,top){
    //any code here
});


In case of SRND it occurs before view updating
Answer posted by oVox on Dec 07, 2007 05:18
OK. What is SRND?
Answer posted by Support on Dec 07, 2007 06:23
SRND => Smart Rendering