jQWidgets Forums

jQuery UI Widgets Forums Grid can't always click checkbox

Tagged: 

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • can't always click checkbox #82447

    shawn
    Participant

    I have 2 checkboxes in my grid.
    Sometimes I can click them on/off with no problem, then suddenly I can no longer click them.
    If I hover my mouse, the cursor doesn’t even change to the pointer.
    The checkboxes load correctly as far as which ones are checked/unchecked.
    Why?

    My json data is generated dynamically, and looks like this

    [{"ID":"1","Headline":"test headline #1","NewsScroll":1,"Active":1},{"ID":"2","Headline":"test hl 2","NewsScroll":0,"Active":1}]

    my grid init looks like this

                var source =
                {
                    datatype: "json",
                    datafields: [
                        { name: 'ID', type: 'string' },
                        { name: 'Headline', type: 'string' },
                        { name: 'Active', type: 'bool' },                    
                        { name: 'NewsScroll', type: 'bool' }
                    ],
                    localdata: jc
                };
                var dataAdapter = new $.jqx.dataAdapter(source);
                $("#newsListGrid").jqxGrid(
                {
                    width: "80%",
                    source: dataAdapter,
                    editable: true,
    				        columns: [
    				          { text: 'ID', datafield: 'ID',width: "8%",editable: false},
    				          { text: 'Headline', datafield: 'Headline',width: "50%",editable: true},
    				          { text: 'Active', datafield: 'Active',width: "15%", columntype: "checkbox",editable: true},
    				          { text: 'News Scroll', datafield: 'NewsScroll',width: "15%", columntype: "checkbox",editable: true},
    									{ text: 'Edit', datafield: 'edit', width: "12%",  columntype: 'button', 
    										     cellsrenderer: function () {
    		                     		return "Edit";
    		                  	}, buttonclick: function (row) { 
    		                  		var dataRecord = $("#newsListGrid").jqxGrid('getrowdata', row);
    		                  		//clog(dataRecord.ID);		                  		
    		                  	}
    		               }				          
    				        ]
                });			
    can't always click checkbox #82451

    shawn
    Participant

    here is a video of what I see happening

    can't always click checkbox #82463

    Peter Stoev
    Keymaster

    Hi shawn,

    We cannot reproduce this with jQWidgets 4.1.0. If necessary, update your version to it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    can't always click checkbox #82492

    shawn
    Participant

    I updated to the latest version and that fixed the problem.
    Thanks

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

You must be logged in to reply to this topic.