PDA

View Full Version : Grid



Nazrin
26 Oct 2011, 10:45 PM
I got a question related to grid. How can I insert multiple data which belong to different data index into a same column?

Thank you B)

sword-it
14 Jun 2012, 1:48 AM
Hi,
Try to use renderer for your column:
Please see this:

{
header: 'Test Header'
, dataIndex: 'number'
, renderer: function(value, metaData, record) {
return value+ record.data.unit;
// for example returns '2 meters'
}
}