Bresler Posted August 14, 2017 Share Posted August 14, 2017 Hello Can anyone share a little example about how to use the UniDBGrid RowBody feature? Thanks Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 16, 2017 Share Posted August 16, 2017 Hi, Sorry, can you explain a bit more... ? Best regards, Quote Link to comment Share on other sites More sharing options...
Bresler Posted August 17, 2017 Author Share Posted August 17, 2017 Hi Thanks for ask. I was talking about this feature: http://docs.sencha.com/extjs/4.2.5/#!/api/Ext.grid.feature.RowBody Thanks God I already solved it, here was the solution I found (maybe could there a better one): RepDBGrid.JSControl.JSCode('features:[{' + ' ftype: "rowbody", ' + ' getAdditionalData: function (data, idx, record, orig) { ' + ' return {' + ' rowBody: ''<div style="padding: 3; font-size:9px"><b>Chapa:</b>'' + record.get("5") + ''<br/>'' + ' + ' ''<b>CI:</b> '' + record.get("4") + ''<br/>'' + ' + ' ''<b>Cargo:</b> '' + record.get("8") + ''</div>''' + ' };' + ' }' + ' }]'); Any suggestion will well receibed. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 17, 2017 Share Posted August 17, 2017 Hi, Thanks for update and sharing. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.