Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rohin on Feb 25, 2009 21:11
open dhtmlx forum
Using POST method with dhtmlxgrid load

Hi, I am building a simple search page.

I have a form with a input field and a search button. On click of the search button I would like to create and load a dhtmlxgrid. so far so good.

I belive the dhtmlxgird can load data using the mygrid.load() function. I want to pass the search parameter to the server side code to return the search result. I understand that I have two options I can either Attach the parameter as a Query String to the URL like www.xyz.com?searchParameter=abc; or I can Post the form to load the grid as query string has a limitation of 2K of data. In the second case how do I pass the query parameter using the POST method in the mygri.load() function?
Answer posted by dhxSupport on Feb 26, 2009 03:49
dhtmlxgrid 2.0 contains dhtmlxgrid_post.js extension, which adds support for such operations.
http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=3450&ssr=yes&s=post%20extension