junior_uk Posted September 5, 2017 Share Posted September 5, 2017 Hello friends, I would like to know if possible to change the color of the title bar and edges of an unidbgrid at runtime? tks Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted September 6, 2017 Share Posted September 6, 2017 UniDBGrid1.JSInterface.JSAssign('getHeader().el.dom.style.backgroundColor', ['#FFFFFF']); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 7, 2017 Share Posted September 7, 2017 Hi, I would like to know if possible to change the color of the title bar and edges of an unidbgrid at runtime? The attached image, is this a working project ? And what do you mean - "edges of an unidbgrid" ? Best regards, Quote Link to comment Share on other sites More sharing options...
junior_uk Posted September 12, 2017 Author Share Posted September 12, 2017 Hi, The attached image, is this a working project ? And what do you mean - "edges of an unidbgrid" ? Best regards, thinking better ... it would be better to change the bottom of the grid, the white background, is it possible? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 12, 2017 Share Posted September 12, 2017 Hi, thinking better ... it would be better to change the bottom of the grid, the white background, is it possible? function beforeInit(sender, config) { config.bodyStyle = { background: '#008000' }; } or in runtime (afterrender): UniDBGrid1.JSInterface.JSCall('body.el.setStyle', ['background-color', 'orange']); Best regards, 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.