jQuery UI Widgets › Forums › Getting Started › Issue in checkbox while onloading jqxgrid
Tagged: #javascriptgrid, #jquerydatagrid, #jqwidgetsdatagrid, #JQXGrid, datagrid, jqxgrid
This topic contains 4 replies, has 2 voices, and was last updated by navin51 9 years ago.
-
Author
-
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?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 StoevjQWidgets Team
http://www.jqwidgets.comNo,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 kumarHi navin51,
The checkbox values in the Data Grid can come only from a data source. That is how it works.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks, Now its working when I am passing value to checkbox using datasoure
-
AuthorPosts
You must be logged in to reply to this topic.