I am not able to hide column of grid. i have written following code.
$(“#jqxpurchasedetailgrid”).jqxGrid(
{
width: 750,
source: dataAdapter,
theme: theme,
pageable: true,
autoheight: true,
sortable: true,
altrows: true,
enabletooltips: true,
columns: [
{ text: ‘Ref. No’, datafield: ‘referenceno’, width: 100 },
{ text: ‘Purchase No’, datafield: ‘purchaseitemno’, cellsalign: ‘right’, width: 100},
{ text: ‘T.Qty’, datafield: ‘totalqty’, cellsalign: ‘right’, width: 100},
{ text: ‘Item’, datafield: ‘itemname’, width: 250 },
{ text: ‘Item Amt’, datafield: ‘itemamount’, width: 100 },
{ text: ‘Other’, datafield: ‘others’, width: 200 },
]
});
$(“#jqxpurchasedetailgrid”).jqxGrid(‘hidecolumn’,’purchaseitemno’);