jQWidgets Forums

jQuery UI Widgets Forums Getting Started Issue in checkbox while onloading jqxgrid

This topic contains 4 replies, has 2 voices, and was last updated by  navin51 8 years, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Issue in checkbox while onloading jqxgrid #91963

    navin51
    Participant

    Hi,
    I am getting null value in check box column while onload jqxgrid first.
    Column properties:
    { text: ”, type: ‘bool’,datafield: ‘available’, columntype: ‘checkbox’,checked:false, width: 70},
    jqxgrid properties:
    width: ‘100%’,
    source: transAdapter,
    autoheight: true,
    pageable: true,
    altrows:true,
    editable: true,
    selectionmode: ‘multiplecellsextended’,
    Here I am not using threestatecheckbox property also but I am getting null value.can you help me how to fix these issue?

    Issue in checkbox while onloading jqxgrid #91964

    admin
    Keymaster

    Hi navin51,

    Checkbox’s value comes from the data source. The Grid column does not have a property called “checked”. Please, take a look at the Grid demos with checkbox columns to learn how to build a Grid with checkboxes in a column.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Issue in checkbox while onloading jqxgrid #91968

    navin51
    Participant

    No,checkbox value will not come from data source.
    Issue Description:When Loading jqxgrid first time, Except first row checkbox column remaining 9 row in first page showing null state in checkbox column,when I am moving from second page to first page in that 9 record Null state is disappearing .
    I want to know how to disappear null state in the 9 rows first time itself?.In this case I am not using “threestatecheckbox” property.
    another doubt:I want to know how to set default value to checkbox column in the jqxgrid?.
    Could you please suggest your idea regarding this issue?

    Best Regards
    navin kumar

    Issue in checkbox while onloading jqxgrid #91969

    admin
    Keymaster

    Hi navin51,

    The checkbox values in the Data Grid can come only from a data source. That is how it works.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Issue in checkbox while onloading jqxgrid #91978

    navin51
    Participant

    Thanks, Now its working when I am passing value to checkbox using datasoure

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

You must be logged in to reply to this topic.