I tried this new feature, this is really good. Is that possible to put pinned headers at the top of each column in that DataView?
And as this example goes.
Code:
dataMap: { // When the record is updated, get the text configuration, and
// call setHtml with the 'text' field of the record.
getText: {
setHtml: 'text'
},
// When the record is updated, get the userName configuration, and
// call setHtml with the 'from_user' field of the record.
getUserName: {
setHtml: 'from_user'
},
// When the record is updated, get the avatar configuration, and
// call `setSrc` with the 'profile_image_url' field of the record.
getAvatar: {
setSrc: 'profile_image_url'
}
},
How can I concatenate data properties with custom string. Something like...
Code:
getPrice: { setHtml: 'price' + ' USD'
},