Hi,
I want to format igGrid column for dates like "yyyy-mm-dd", dd-mm-yyyy 10:20Pm", .......
Is there any way to do it ??
Hello sanjaysutar ,
Flavio is right. You should use format property for the purpose
More information you can find in the help docs too
http://help.infragistics.com/NetAdvantage/jQuery/2012.2/CLR4.0?page=igGrid_Columns_and_Layout.html
http://help.infragistics.com/NetAdvantage/jQuery/2012.2/CLR4.0?page=Infragistics.Web.Mvc~Infragistics.Web.Mvc.GridColumn~Format.html
Let us know if you need further assistance.
Hi Sanjaysutar,
let's wait for an infragistis team confirm, but I think this is what you were looking for:
//Initialize
$(
".selector"
).igGrid({
autoGenerateColumns:
false
,
columns: [
{ headerText:
"Product ID"
, key:
"ProductID"
, dataType:
"number"
, format:
},
"Production Date"
"ProductionDate"
"date"
"ddd, MMM-d-yy HH:mm"
]
});