jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Peter,
I am used endupdate in my code, her missing.
Reason for show & hide column is, user ll select the column option, the selected column options only display in table view and other ll hide.
So only i am used.
Regards
Gopinath BSJune 4, 2015 at 7:34 am in reply to: Columns reorder is not working, when pinned columns exists Columns reorder is not working, when pinned columns exists #72003Thank and Cheers Peter!!!
Hi Peter,
setcolumnindex is work fine.
But in past I found the problem, when jqxgrid load with my columns order which is save in db, and then not reordered as per my column details in table view.
I have mentioned the coding which is problem and worked as below:
PROBLEM:
—————————-
$(“#grid”).jqxGrid(‘beginupdate’, true);
$(‘#grid’).jqxGrid(‘setcolumnindex’, cols[i].ColumnName, i + 1);
$(“#grid”).jqxGrid(‘showcolumn’, value.value);
$(“#grid”).jqxGrid(‘hidecolumn’, value.value);
$(“#grid”).jqxGrid(‘hidecolumn’, value.value);
—————————-WORKED:
—————————-
$(“#grid”).jqxGrid(‘beginupdate’, true);
$(“#grid”).jqxGrid(‘showcolumn’, value.value);
$(“#grid”).jqxGrid(‘hidecolumn’, value.value);
$(‘#grid’).jqxGrid(‘setcolumnindex’, cols[i].ColumnName, i + 1);
$(“#grid”).jqxGrid(‘hidecolumn’, value.value);
—————————-I have used worked order code execute and now i work fine.
Cheers
Gopinath BSHi peter,
Can u give example for event raised when columns order change and there is method for setting the column’s index and storing the order and applying it later when we need.
Regards
Gopinath BSMay I have Jsfiddle example!
Hi Peter
I cannot store the whole state grid data in db.
the column order is based as index value in column.
If i get & set the index value in column, the header column will arrange as per number?
thanks
Gopinath BSJune 3, 2015 at 9:02 am in reply to: Columns reorder is not working, when pinned columns exists Columns reorder is not working, when pinned columns exists #71960Hi,
On grid load, columns will be order in col1, col2, col3….
when i drag the col3 next to col1 and saved. Then i need to grid column order to be load col1, col3, col2 etc. is it possible any solutions?
Regards
Gopinath BSHi Ivailo
It working well by cellsrenederer Method.
Thanks
Gopinath BsApril 13, 2015 at 12:55 pm in reply to: jqxwindow open firing late jqxwindow open firing late #69801welcome peter,
I have used data binding format:
”
// prepare the data
var source =
{
datatype: “jsonp”,
datafields: [
{ name: ‘countryName’, type: ‘string’ },
{ name: ‘name’, type: ‘string’ },
{ name: ‘population’, type: ‘float’ },
{ name: ‘continentCode’, type: ‘string’ }
],
url: “http://ws.geonames.org/searchJSON”
};
var dataAdapter = new $.jqx.dataAdapter(source,
{
formatData: function (data) {
$.extend(data, {
featureClass: “P”,
style: “full”,
maxRows: 50
});
return data;
}
}
);
$(“#jqxgrid”).jqxGrid(
{
source: dataAdapter,
columnsresize: true,
columns: [
{ text: ‘Country Name’, datafield: ‘countryName’, width: 200 },
{ text: ‘City’, datafield: ‘name’, width: 170 },
{ text: ‘Population’, datafield: ‘population’, cellsformat: ‘f’, width: 170 },
{ text: ‘Continent Code’, datafield: ‘continentCode’, minwidth: 110 }
]
});
”
through your documentation api which is on open jqwindow. but jqwindow is get delay to open in ie9 and also above example tried, it get same issue in ie9. can u give solution?Regards
Gopinath BSHi Nadezha
1.Jqxwindow initContent is work in jQWidgets v3.4.0?
2.Above example is array format, can u give example for json format with ajax url on initcontent?
Regards
Gopinath BSHi nadezha
alert just example, instead of this I have used jqxgrid to load on open. But jqxwindow get delayed to open in ie9, when the jqxgrid loading rendering is start then the jqxwindow is opened. I have used above the example but not worked, any solution?.
Regards
Gopinath BSApril 7, 2015 at 12:10 pm in reply to: Bootstrap Modal/tab opening delay in ie9 by using jqgrid Bootstrap Modal/tab opening delay in ie9 by using jqgrid #69635sorry jqxGrid.
March 20, 2015 at 12:03 pm in reply to: jqxGrid('destroy') getting error(ver. 3.4) jqxGrid('destroy') getting error(ver. 3.4) #68898k Thank, Happy weekends!
Cheers
Gopinath BSMarch 20, 2015 at 11:22 am in reply to: jqxGrid('destroy') getting error(ver. 3.4) jqxGrid('destroy') getting error(ver. 3.4) #68895Hi Peter
Thanks for your response, Peter.
Peter, I can’t Upgrade the current version becz project came to end, so alternate i am using $(idselector).remove(), now work fine.
But technically it get problem?
Regards
Gopinath BS -
AuthorPosts