We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Update query

Thread ID:

Created:

Updated:

Platform:

Replies:

141303 Dec 5,2018 10:13 AM UTC Dec 10,2018 11:01 AM UTC JavaScript - EJ 2 1
loading
Tags: Grid
DEVW
Asked On December 5, 2018 10:18 AM UTC

Hello,

This code worked for me before, but now query  and data in grid are not updating.
I use cdn https://cdn.syncfusion.com/ej2/dist/ej2.min.js. 
Any sugestions??

var filter_types = new ej.dropdowns.DropDownList({
                            dataSource: _ar,
                            fields: { text: 'name', value: 'id' },
                            placeholder: 'Types',
                            select: (item) => {
                                if (item.itemData.id != '')
                                    grid.query = new ej.data.Query().expand("Owner($select = Name,Surname, Id,Email),Orderer($select = Name, Id),EndingCustomer($select = Name, Id)").addParams("IdProcessingCompany", app.Views['ProcessingCompanies'].companySelect()).where('PeriodTypeText', 'equal', item.itemData.id);
                                else grid.query = new ej.data.Query().expand("Owner($select = Name,Surname, Id,Email),Orderer($select = Name, Id),EndingCustomer($select = Name, Id)").addParams("IdProcessingCompany", app.Views['ProcessingCompanies'].companySelect());
                                grid.refresh();
                            },
                            cssClass: "toolbar_dropdown",
                            close: () => { tooltip.close(); }
                        });

Mohammed Farook J [Syncfusion]
Replied On December 10, 2018 11:01 AM UTC

 
Hi DEVW, 
 
Query: This code worked for me before, but now query  and data in grid are not updating. I use cdn https://cdn.syncfusion.com/ej2/dist/ej2.min.js.  Any sugestions?? 
 
We have validated your query and we are able to reproduce the reported problem at our end. We have already considered "Query property not working properly when dynamic property change" as a bug and logged a report for the same. The fix for the issue will be available in any of our upcoming release. 
 
Regards, 
J Mohammed Farook 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;