jQWidgets Forums
Forum Replies Created
-
Author
-
December 9, 2017 at 4:27 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97838
Hi Ivo,
Your solution worked but partially. Sometimes when my component updates multiple time then it removes all the Column Header Titles.
So is there any other way to find out how many parentelements exists if there is only One parementelement then do not remove.
December 9, 2017 at 3:39 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97836Thanks i will try
December 5, 2017 at 8:51 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97742Have you checked the issue yet ?
December 1, 2017 at 12:53 pm in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97670Hi Ivo,
Any update on the issue ?
November 25, 2017 at 3:46 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97545Hi Ivo,
Your solution worked only if I pass some default Items with Props if I pass empty props then it does not works.
Check this link please https://www.jseditor.io/?key=jqxgrid-headerRegards,
AmanNovember 20, 2017 at 8:28 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97423Any update ?
November 16, 2017 at 4:21 pm in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97388Hi Ivo,
Check now i shared it to everyone https://www.jseditor.io/?key=new-document-1-2-3-4-5-6-7-8-9
November 15, 2017 at 11:00 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97334Hi,
Any update on this. I also created an live working example of issue check here
https://www.jseditor.io/?key=new-document-1-2-3-4-5-6-7-8-9
Please help me to solve the issue it’s very urgent. My whole application is using Jqwidgets.
Regards,
November 9, 2017 at 1:21 pm in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97204Hi Ivo,
Issue is occurring when using databind method on componentDidUpdate check below code I just modified the example you provided.
import React, { Component } from "react"; import JqxGrid from '../jqwidgets-react/react_jqxgrid.js'; import { jqx } from '../jqwidgets-react/react_jqxgrid.js'; class App extends React.Component { constructor(props) { super(props); this.state = { count : 0 } } static defaultProps = { entriesList: [ { '_id': 1, 'account_name': 'AAA', 'limit': 1, 'status': true, 'hide': false }, { '_id': 2, 'account_name': 'AAA', 'limit': 1, 'status': true, 'hide': false }, { '_id': 3, 'account_name': 'AAA', 'limit': 1, 'status': true, 'hide': false } ], entriesList1: [ { '_id': 4, 'account_name': 'BBB', 'limit': 1, 'status': true, 'hide': false }, { '_id': 5, 'account_name': 'BBB', 'limit': 1, 'status': true, 'hide': false }, { '_id': 6, 'account_name': 'BBB', 'limit': 1, 'status': true, 'hide': false } ], onDataUpdate: function () { }, editItem: function (account_id) { } } componentWillMount() { this.initDataAdapter() } componentDidMount() { this.setState({ count: 1 }) } componentDidUpdate() { this.source.localdata = this.props.entriesList1; this.dataAdapter.dataBind(); } initDataAdapter() { var datafields = [ { name: '_id', type: 'string' }, { name: 'account_name', type: 'string' }, { name: 'limit', type: 'number' }, { name: 'status', type: 'boolean' }, { name: 'hide', type: 'boolean' }, ]; this.source = { datatype: 'json', datafields: datafields, id: '_id', localdata: this.props.entriesList }; this.dataAdapter = new jqx.dataAdapter(this.source); this.columns = [ { text: 'Id', datafield: '_id', width: 50 }, { text: 'Name', datafield: 'account_name', width: 230 }, { text: 'Limit', datafield: 'limit', width: 100 }, { text: 'Status', datafield: 'status', width: 50, columntype: 'checkbox' }, { text: 'Hide', datafield: 'hide', width: 50, columntype: 'checkbox' }, ]; } render() { return ( <div> <JqxGrid source={this.dataAdapter} columns={this.columns} width={"100%"} height={400} pageable={true} pagermode={'simple'} pagesize={1000} sortable={true} altrows={false} enabletooltips={true} editable={false} filterable={true} showfilterrow={true} /> </div> ); } } export default App;
November 6, 2017 at 8:32 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97112The issue occurs when i try to databind in order load the updated data this.dataAdapter.dataBind()
November 4, 2017 at 6:34 am in reply to: Reactjs Jqxgrid has double header on calling databind method Reactjs Jqxgrid has double header on calling databind method #97101The picture matches the settings this is the issue I am talking about it shows double headers instead of Filter Row. When page loads.
Check Video link i created https://screencast.com/t/bfmNXgo3o7a
October 17, 2017 at 11:53 am in reply to: Reactjs Jqxcombobox not refreshing on Databind Reactjs Jqxcombobox not refreshing on Databind #96752Yes it works now thanks
September 19, 2014 at 10:40 am in reply to: Feature request: Grid filter with list for server-side filtering Feature request: Grid filter with list for server-side filtering #59773Hi Peter,
Can you provide me an example please How to Modify Filter Parameters before sending it to server side. -
AuthorPosts