Categories | Question details Back To List | ||
Grid Hi, With the prototypejs's ajax request will do this in the response i send window.location.href = '/session/new'; This will refresh the page. But if i do the same thing with the dhtmlx grid's ajax request it won't refresh the page. Can you suggest me how to tackle this problem? Answer posted by Support on Aug 06, 2009 02:19 If you mean response to the grid.load command - it will be processed by the grid and will not be evaluated as normal script. You can use ability of the grid to execute commands from xml grid.custom_method=function(location){ window.location.href=location; } .... and in xml response <rows> <head> <afterInit> <call command="custom_method"><param>/session/new</param></call> </afterInit> </head> </rows> |