Some additional informations can be added in the column definition.
$('#dg').datagrid({
columns:[[
{field:'name',width:100,datatype:'string'},
{field:'salary',width:100,datatype:'number',align:'right'}
]]
});
Calling 'getColumnOption' method and the user will be able to get the specified field option.
var col = $('#dg').datagrid('getColumnOption','name'); // the 'name' field option
alert(col.datatype); // the 'datatype' property