jQuery UI Widgets › Forums › Grid › rowdetails and applyfilters
This topic contains 22 replies, has 5 voices, and was last updated by Hristo 4 years, 3 months ago.
-
Author
-
I used your method, but it still doesn’t work. As long as the request is “async: true”, an error will be reported. The problem seems to have nothing to do with “filter”. It can always be filtered. After the problem is expanded, the filter will report an error, not that it cannot be filtered. The event of the detailed information throws an exception when filtering.
jqxgrid.js:2891 Uncaught Error: jqxGrid: The data is still loading. When the data binding is completed, the Grid raises the ‘bindingcomplete’ event. Call this function in the ‘bindingcomplete’ event handler.
at b.<computed>.hiderowdetails (VM378 jqxgrid.js:2891)
at b.<computed>._postrender (VM378 jqxgrid.js:4512)
at b.<computed>.applyfilters (VM382 jqxgrid.filter.js:1785)
at b.<computed>.addfilter (VM382 jqxgrid.filter.js:1706)
at b.<computed>._buildfilter (VM382 jqxgrid.filter.js:1615)
at HTMLSpanElement.<anonymous> (VM382 jqxgrid.filter.js:2011)
at HTMLSpanElement.dispatch (jquery-1.8.0.min.js:2)
at HTMLSpanElement.h (jquery-1.8.0.min.js:2)Locate where the error occurred
hiderowdetails: function (d) {
if (this._loading) {
throw new Error(“jqxGrid: ” + this.loadingerrormessage);
return false
}
if (!this.detailsVisibility) {
this.detailsVisibility = new Array()
}
this.detailsVisibility[d] = true;
d = this.getrowvisibleindex(d);
if (d < 0) {
return false
}
var e = this._getrowdetails(d);
return this._setrowdetailsvisibility(d, e, true)
}An exception was thrown in the “hiderowdetails” method
Hello JenkeNg,
Please, provide us with more details.
If it possible for you to provide us with one simple example (jseditor/jsfiddle) that demonstrates this.
You could contact the Support Team (support@jqwidgets.com) to share your example there if it is more specific.
I look forward to hearing from you.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi,Hristo
Surprising discovery, I spent a day writing an example, I want to reproduce this problem for you, but I can’t reproduce it.I wrote an example ,this example is no problem,The problem is that I used the public version of “jqx-all.js” to demonstrate that it works. But the “jqx-all.js” of my development environment is jqxWidgets of 8.1.4 version, it does not work normally, when I change the import address to “https://jqwidgets.com/public/jqwidgets/jqx-all .js”, the error disappeared, and everything went according to plan.Do you need to check this version?waiting for your reply.Hello JenkeNg,
Thank you for this clarification.
On the jsfiddle platform are using the latest versions for the references.
We recommend using the latest version of jQWidgets: https://www.jqwidgets.com/download/
The mentioned version is old and there is a lot of fixes and improvements.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi,Hristo
I have updated the version to the latest. It looks good, and the style seems to be different from before. This is not a problem, I can fine-tune it. However, it seems that the style caused a grid paging problem. The problem occurred in “pagesizeoptions”. When I changed the style back to the previous version, the problem disappeared. Here is an example. (When selecting the number of rows displayed, the items are downward)
I still want to use the latest version of the style, but this problem must be resolved
In addition, I have a suggestion. Is it possible to separate the pager separately in the future, because the pager is not only applicable to the grid, but also other block-shaped elements, such as pictures.Hello JenkeNg,
I saw your example I am not sure about the result returned from this “Mock” library.
Unfortunately, I do not have experience with this.
Meanwhile, I tested this demo and it seems to work fine:
https://www.jqwidgets.com/jquery-widgets-demo/demos/php/serverfiltering_paging_and_sorting.htm?lightAlso, I would like to mention Smart.Pager component – which is part of another our library Smart HTML Elements.
Please, take a look at this demo.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi,Hristo
The problem I’m talking about is in “pagesizeoptions” here,
When you choose the number of rows to display,
The collection is expanded downwards and is obscured,
It should expand upwards.Hello JenkeNg,
Thank you for the additional information and for your patience.
I will create a work item for this.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.