Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Column reorder Column reorder #72012

    gopinath_ui
    Participant

    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 BS


    gopinath_ui
    Participant

    Thank and Cheers Peter!!!

    in reply to: Column reorder Column reorder #72002

    gopinath_ui
    Participant

    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 BS

    in reply to: Column reorder Column reorder #71984

    gopinath_ui
    Participant

    Hi 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 BS

    in reply to: Column reorder Column reorder #71968

    gopinath_ui
    Participant

    May I have Jsfiddle example!

    in reply to: Column reorder Column reorder #71965

    gopinath_ui
    Participant

    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 BS


    gopinath_ui
    Participant

    Hi,

    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 BS

    in reply to: Null data to "-" Null data to "-" #71791

    gopinath_ui
    Participant

    Hi Ivailo

    It working well by cellsrenederer Method.

    Thanks
    Gopinath Bs

    in reply to: jqxwindow open firing late jqxwindow open firing late #69801

    gopinath_ui
    Participant

    welcome 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 BS

    in reply to: jqxwindow open firing late jqxwindow open firing late #69733

    gopinath_ui
    Participant

    Hi 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 BS

    in reply to: jqxwindow open firing late jqxwindow open firing late #69695

    gopinath_ui
    Participant

    Hi 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 BS


    gopinath_ui
    Participant

    sorry jqxGrid.


    gopinath_ui
    Participant

    k Thank, Happy weekends!

    Cheers
    Gopinath BS


    gopinath_ui
    Participant

    Hi 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

Viewing 14 posts - 1 through 14 (of 14 total)