jQWidgets Forums

jQuery UI Widgets Forums Grid JqxGrid Checkbox

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 6 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • JqxGrid Checkbox #104327

    haneef
    Participant

    Hi Team,

    I am facing a problem with “Select All” checkbox in JqxGrid. Select all checkbox is not behaving correctly in filter scenario. Please find the following steps to reproduce the problem.
    Step1: JQXGrid loaded with 10 records and it has 3 columns with filter and selection mode is checkbox.
    Step2: I put some text in search box and able to filter two results.
    Step3: I have selected two checkboxes.
    Step4: Now, I have removed the filter and I am able to see all 10 records again.

    Problem: “Select All” checkbox is still selected after removing the filter. The actual selection 2 out of 10 records still select all checkbox is selected.

    Please let me know the steps or workaround to resolve the problem with simple steps.

    var grdAdvanceSearch = $(“#grdAdvanceSearch”);
    grdAdvanceSearch.jqxGrid(“render”);
    grdAdvanceSearch.jqxGrid({
    width: “100%”,
    height: “230px”,
    selectionmode: “checkbox”,
    source: dataAdapter,
    //ready: function () {
    // var datainformations = $(‘#grdDeviceAdvanceSearch’).jqxGrid(‘getdatainformation’);
    // totalCount = datainformations.rowscount;
    //},
    theme: gridTheme,
    filterable: true,
    showfilterrow: true,
    virtualmode: false,

    pageable: true,
    pagesize: appUtility.appPageSize,
    pagesizeoptions: pageSizeOption
    …………

    JqxGrid Checkbox #104392

    Martin
    Participant

    Hello haneef,

    Please, look at the following Example.
    When the filter is cleared you can unselect and select one item. This will update the “Select All” checkbox.

    Best Regards,
    Martin

    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.