hieu79vn
10 Apr 2012, 7:53 AM
Hello,
I use Json.net to transform a datatable to json string. When I bind this string with panelgrid all columns are showed except the data column. The date format of Json is YYYY-MM-DDTHH:mm:SS.xx
How can I format the data column to DD/MM/YY HH:mm:SS
Furthermore, I have an actioncolumn with an icon inside. I set its width and minWidth to 20 pixel but it seems that the width of column is always greater than 30px. How can I reduce the width of this column?
{
xtype:'actioncolumn',
minWidth : 15,
width:15,
items: [{
icon: '<%=ImagePath%>star_white.gif',
tooltip: 'Favorite'
}]
},
33825
Thank you
Tang
I use Json.net to transform a datatable to json string. When I bind this string with panelgrid all columns are showed except the data column. The date format of Json is YYYY-MM-DDTHH:mm:SS.xx
How can I format the data column to DD/MM/YY HH:mm:SS
Furthermore, I have an actioncolumn with an icon inside. I set its width and minWidth to 20 pixel but it seems that the width of column is always greater than 30px. How can I reduce the width of this column?
{
xtype:'actioncolumn',
minWidth : 15,
width:15,
items: [{
icon: '<%=ImagePath%>star_white.gif',
tooltip: 'Favorite'
}]
},
33825
Thank you
Tang