jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Grid-Checkbox columns
This topic contains 2 replies, has 2 voices, and was last updated by Keshavan 11 years, 6 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorGrid-Checkbox columns Posts
-
Hi,
I have a grid in which there are 4 columns of type ‘checkbox’.I am able to edit only one of them, and that too 1 time only.If i refresh, the same scenario. below is the code. Please suggest solution.
$("#jqxgrid").jqxGrid( { width: 930, height: 415, source: dataAdapter1, theme: 'ui-sunny', pageable: true, editable: true, sortable: true, selectionmode: 'multiplecellsadvanced', filterable: true, columnsresize: true, columnsreorder: true, enabletooltips: true, autoshowfiltericon: false, showfiltercolumnbackground: true, showsortcolumnbackground: true, toolbarheight: 20, /* autorowheight: true, autoheight: true,*/ altrows: true, columns: [ { text: 'Customer', datafield: 'CustomerName', width: '25%',editable:false,pinned:true }, { text: 'Visited?', datafield: 'Visited', columntype: 'checkbox', width: '17%' }, { text: 'Discard?', datafield: 'Discard', columntype: 'checkbox', width: '17%' }, { text: 'Sales Feedback', datafield: 'VisitParticulars', width: '50%' }, { text: 'Prospect?', datafield: 'Prospect', columntype: 'checkbox', width: '18%' }, { text: 'Customer Win?', datafield: 'Converted',columntype: 'checkbox', width: '9%', }, { text: 'LandPhone', datafield: 'LandPhone', editable: false, width: '15%' }, { text: 'Address', datafield: 'L_AddressLine1',editable:false, width: '20%' }, { text: 'Contact', datafield: 'ContactName', width: '15%' }, { text: 'Mobile', datafield: 'Mobile', width: '15%' }, { text: 'EmailId', datafield: 'EmailId', width: '15%' }, // { text: ' ', datafield: 'L_AddressLine2', width: '8%' }, { text: 'City', datafield: 'L_City', width: '8%' }, { text: 'CustomerType', datafield: 'CustomerType', width: '8%' }, { text: 'TotalVisits', datafield: 'TotalVisits', width: '8%' }, // { text: 'LeadType', datafield: 'LeadType', width: '8%' }, { text: 'Range', datafield: 'Range', width: '8%' }, { text: 'Last Visit on', datafield: 'LastVisitedDate', width: '8%' }, { text: 'First Visit on', datafield: 'FirstVisitedDate', width: '8%' }, { text: 'Sales Person', datafield: 'Name', width: '9%' }, { text: 'JourneyDate', datafield: 'JourneyDate', width: 100, columntype: 'datetimeinput', cellsformat: "mm/dd/yyyy", width: '7%', align: 'center', cellsalign: 'center' }, { text: 'Latitude', datafield: 'Latitude' }, { text: 'Longitude', datafield: 'Longitude' } ] });
Thanks,
Keshavan
Hi Keshavan,
I suggest you to check the initialization of your data source and especially whether you set or not the “type” field of your data fields.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Thanks for the quick response, Yes with the suggested change it’s working !!.
Thanks,
Keshavan
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.