jQuery UI Widgets › Forums › Grid › Limit in formatData parameter collection
Tagged: Collection, formatData, grid, limit, parameter
This topic contains 3 replies, has 2 voices, and was last updated by Sibeesh Venu 10 years, 6 months ago.
-
Author
-
Hi,
I am working in server side grid. I recently faced an issue that when I pass some large data as the parameter in formatData function, the grid doesn’t even fire the urlurl: '../Widget/GetDataForGrid/',. Is there any limit to send the extra parameters to the server? If yes, how can we increase it? Please advice me a solution. Thanks in advance.Kindest Regards
Sibeesh VenuHi Sibeesh,
We don’t put limits especially in things that do not depend on us. Probably you put all params in the URL instead of using “POST” server call and you hit the browser’s url 2000 chars limit 🙂
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/I am just extending the data in the formatdata function as follows.
formatData: function (data) { $.extend(data, { selectedColumn: selectedColumn, selectedRow: selectedRow, selectedMeasures: selectedMeasures, serverName: serverName, databaseName: databaseName, cubeName: cubeName, queryTemplate: QueryTemplate, chartMode: ChartMode, chartType: chartType, filterContent: filterContent, FilterSelectedValue: FilterSelectedValue, rollingTimePeriod: rollingTimePeriod, calculatedmeasureVal: calculatedmeasureVal }); return data; }When I do that I am getting error. But when I pass less data in the variable FilterSelectedValue, it is working fine. Please advice me any fix. Thanks in advance.
Kindest Regards
Sibeesh VenuIt seems I solved the issue. I added
type: 'POST',in my source object. Thank you -
AuthorPosts
You must be logged in to reply to this topic.