jQWidgets Forums
Forum Replies Created
-
Author
-
October 29, 2018 at 6:17 am in reply to: Reactjs Jqxgrid has double header on calling filter change Reactjs Jqxgrid has double header on calling filter change #102542
Hi Martin.
I have face the problem when set up the variable using setState . so for now if we don’t have a solution around it so what you suggest me for should i use plain jquery library for that.
July 12, 2018 at 6:09 am in reply to: Reactjs Jqxgrid has double header on calling filter change Reactjs Jqxgrid has double header on calling filter change #100970Please help me on this. i have to solve this urgently.
July 11, 2018 at 11:30 am in reply to: Reactjs Jqxgrid has double header on calling filter change Reactjs Jqxgrid has double header on calling filter change #100948Please help me on this. if anyone have a solution.
July 10, 2018 at 11:19 am in reply to: Reactjs Jqxgrid has double header on calling filter change Reactjs Jqxgrid has double header on calling filter change #100931Please check the link .
June 13, 2018 at 6:51 am in reply to: How to pass the jqxgrid success response to parent component ! Urgent How to pass the jqxgrid success response to parent component ! Urgent #100580Hi Hristo,
thanks for the replay. One more thing when i reload the page so the network will call twice the api for the first time. Why it call’s twice is render method call the twice . can u please help me on this.
May 30, 2018 at 9:17 am in reply to: How to pass the jqxgrid success response to parent component ! Urgent How to pass the jqxgrid success response to parent component ! Urgent #100374Hi Hristo,
I have tried the way you mention . When i call the parent function in bindingcomplete Event then in parent function will throw warning.
This is child component.,
this.refs.myGrid.on('bindingcomplete', (event) => { //console.log("complete bindingcomplete"); this.props.handleDisabled(true) });
In parent component i have handleDisabled function where i’m updating the state after complete the binding.
handleDisabled(val) { this.setState({isDisabled:val}); console.log("ods "+val); }
Warning: Can’t call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in AdvancedSearch (at advanceSearch.js:145)So can you please tell me what is the right way to update the parent state when the binding of child component is complete.
April 12, 2018 at 5:13 am in reply to: filter row is not refreshed and paging also not reset. filter row is not refreshed and paging also not reset. #99678Hi Hristo,
I resolved my issues .
1. Onchange dropdown is change and jqxgrid is re-render but the filter row is not refreshing : In this issue when the data is change the grid is update but not the filter row. so i just set the property under componentWillReceiveProps.so it works fine for me.
this.refs.myGrid.setcolumnproperty(‘product_brand’,’filteritems’,statusDoc[nextProps.params.selectFilter][‘brand_name’]);
2. This issue is resetting the gotopage. : this.refs.myGrid.gotopage(0);
3. Header comes twice when i change the paging : It is fix with pagechanged event need to refresh the updatebounddata.
Now these things are working. thanks Hristo for replying.
Now there is some another problem .
1. I have filter row where is brand and status dropdown have a big list of item and when i select unchecked on option it will send the all data to the api and api fail due to request url is too long. so how can i make a custom list of filter to be sent to server. like if i unchecked one branch can i pass the selected brand with comma seperated string so this way api is not exceed with too long. how can i do this can you help me on this.
-
AuthorPosts