jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Thank you Peter,

    We have identified another bug with the example i sent you. It appears there is a problem with autoheight and autorowheight. In some scenarios when there is a row that is higher than the others, the grid goes not always resize, this means the bottom row is only partially visible.

    Tom

    Thank you peter,

    Do you know what the timeline for this is likely to be?

    Tom

    That is the problem we are having, If there is no data to display, previously a message saying “No data to display” was shown. Now we are just getting a loading message that just keeps spinning. If i comment out the “autorowheight: true,” it works perfectly. My code is below:

    $(document).ready(function () {

    var source =
    {
    url: ‘/MIS3/Job/GetKJListHandler’ + ‘?uniqueID=’ + ‘a5758134-d67e-4026-9ee7-82007b342f60’,
    datatype: “json”,

    datafields: [
    { name: “Name” },
    { name: “ID”, type: “int” },
    { name: “PlannedStartDate”, type: “date” },
    { name: “PlannedFTPDate”, type: “date” },
    { name: “Status” }
    ]
    };
    var viewJobURL = ‘/MIS3/Job/View’;
    var dataAdapter = new $.jqx.dataAdapter(source);

    var linkrenderer = function (row, column, value) {
    var html = “KJ” + value + ““;
    return html;
    }

    $(“#jobGrid”).jqxGrid(
    {
    source: dataAdapter,
    theme: ‘encore’,
    width: ‘100%’,
    pageable: true,
    pagesize: 25,
    pagesizeoptions: [’10’, ’25’, ’50’, ‘100’, ‘150’, ‘500’],
    autorowheight: true,
    autosavestate: true,
    autoloadstate: true,
    filterable: true,
    autoshowfiltericon: true,
    autoheight: true,
    sortable: true,
    selectionmode: ‘none’,
    columns: [
    { text: ‘ID’, dataField: ‘ID’, width: 100, cellsrenderer: linkrenderer },
    { text: ‘Name’, dataField: ‘Name’},
    { text: ‘Planned Start Date’, dataField: ‘PlannedStartDate’, width: 150, cellsformat: ‘dd/MM/yyyy’ },
    { text: ‘Planned Print Date’, dataField: ‘PlannedFTPDate’, width: 150, cellsformat: ‘dd/MM/yyyy’ },
    { text: ‘Status’, dataField: ‘Status’, width: 100 }

    ]
    });

    });

    Peter,

    I have tried this with the demo on your website and it displays the same error. Try removing all the orders from your xml file and running the sample. It loads the outling of the grid, but the loading panel just keeps spinning. It appears to be having a problem when it can’t find a row to set the height of..

    Tom

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