jQWidgets Forums

jQuery UI Widgets Forums Grid Grid show not-existing data

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 9 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Grid show not-existing data #84741

    philler
    Participant

    Hi

    It’s not the first time that JqxGrid show me not existing data from my database.
    WHY?
    My source is this

    var source =
        {
            datatype: "json",
            datafields: [
                { name: 'id', type: 'int'},
                ...
                { name: 'livello', type: 'string'}
            ],
            cache: false,
            id: 'id',
            url: 'url',
            updaterow: function (rowid, rowdata, commit) {
                ...
            }

    And my grid settings:

    var dataAdapter = new $.jqx.dataAdapter(source);
    
        // initialize jqxGrid
        $("#jqxgrid").jqxGrid(
        {
            width: '100%',
            height: '100%',
            selectionmode: 'multiplerowsextended',
            filterable: true,
            filtermode: 'excel',
            sortable: true,
            source: dataAdapter,
            theme: theme,
            localization: getLocalization(),
            groupable: true,
           
            editmode: 'dblclick', //'click', 'dblclick', 'selectedcell'
            showstatusbar: true,
            columnsresize: true,
            columnsreorder: true,
            enabletooltips: true,
            altrows: true,

    I don’t see nothing wrong, but the grid contain old datas that no longer exist.
    Infact I clean the database’s table.

    HELP

    Grid show not-existing data #84742

    Peter Stoev
    Keymaster

    Hi philler,

    The Grid can show only the data you pass to it. I would suggest you to check what kind of data your DB returns and check whether your DB or Browser caches something.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.