jQWidgets Forums

jQuery UI Widgets Forums Grid Checkbox column is working only once

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 9 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Checkbox column is working only once #74269

    Bln79
    Participant

    Hello!

    I am facing the problem, that a checkbox column in an editable grid is only working exactly once.
    The grid is shown fine, the way it should be. But when I click on a checkbox the check/uncheck is only triggered once. No further changing of the checkbox state is possible until the page is reloaded.

    Here comes the code for the grid I am currently working with:

    $("#jqxgrid").jqxGrid(
            {
                width: '100%',
                autoheight: true,
                theme: 'bootstrap',
                source: dataAdapter,
                columnsheight: 40,
                columnsmenuwidth: 40,
                rowsheight: 34,
                pageable: true,
                pagermode: 'simple',
                columnsresize: true,
                editmode: 'selectedrow',
                editable: true,
                selectionmode: 'singlerow',
                columns: [
                    { text: 'ID', dataField: 'Id', cellsalign: 'right', editable: false, width: 30 },
                    {
                        text: 'Name', dataField: 'Name', editable: true, columntype: 'textbox', width: '20%',
                        validation: function (cell, value) {
                            if (value.trim() == "")
                                return { result: false, message: "Name must not be empty." };
                            return true;
                        }
                    },
                    {
                        text: 'Description', dataField: 'Description', editable: true, columntype: 'textbox',
                        validation: function (cell, value) {
                            if (value.trim() == "")
                                return { result: false, message: "Description must not be empty." };
                            return true;
                        }
                    },
                    { text: 'Active', dataField: 'IsActive', columntype: 'checkbox',  align: 'center', cellsalign: 'center', width: 70 },
                    { text: 'Action', cellsrenderer: cellRenderer, align: 'center', editable: false, width: 100 }
                ]
            });

    Does anybody have a clue what is going on there and what is wrong?

    Thanks in advance. 🙂

    Checkbox column is working only once #74272

    Peter Stoev
    Keymaster

    Hi Bln79,

    This is known issue introduced with 3.8.1 release. Thanks for feedback. For now, you may switch back to 3.8.0. Download link:

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Checkbox column is working only once #74274

    Bln79
    Participant

    Hey Peter,

    thank you for the quick reply.

    Unfortunately it seems you forgot to post the download link to the 3.8.0 release.

    Thank you again.

    Checkbox column is working only once #74307

    Peter Stoev
    Keymaster

    Hi Bln79,

    jqwidgets-ver3.8.0.zip.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.