TobiS Posted October 29, 2019 Share Posted October 29, 2019 Hello, If I set dgTitles in an unimdbgrid to false then nothing happens. I see postings which are 3 years old (in words three years). Since then it isn't solved. I tried also UnimDBGrid1 -> ClientEvents -> ExtEvents -> Ext.data.Store [store] -> function store.load: function store.load(sender, records, successful, operation, eOpts) { sender.grid.getHeaderContainer().hide(); } But this hide the Header, but the Columns Values are not correct. All Values are displayed in column one The second column is then empty. However, the mobile component are very bad. There are so many things which are not working or properties are not existing and this for many, many years? Why? Best wishes Bernhard Roos Link to comment Share on other sites More sharing options...
Sherzod Posted October 29, 2019 Share Posted October 29, 2019 1 hour ago, TobiS said: UnimDBGrid1 -> ClientEvents -> ExtEvents -> Ext.data.Store [store] -> function store.load: function store.load(sender, records, successful, operation, eOpts) { sender.grid.getHeaderContainer().hide(); } Hello, This approach works for me. Link to comment Share on other sites More sharing options...
TobiS Posted October 29, 2019 Author Share Posted October 29, 2019 For me not. See my first post. I'm using 1.90.0.1502 Link to comment Share on other sites More sharing options...
Sherzod Posted October 29, 2019 Share Posted October 29, 2019 3 minutes ago, TobiS said: See my first post. I saw. If it’s not difficult for you, can you make a simple testcase for this? Link to comment Share on other sites More sharing options...
TobiS Posted October 29, 2019 Author Share Posted October 29, 2019 Sorry, I have no time to make a test case. But there are the steps : 1. You must have more than one tabs in a pagecontrol 2. The grid is in a pagecontrol which is on the start of the form not visible Then you see my problem. Best wishes Bernhard Link to comment Share on other sites More sharing options...
x11 Posted December 7, 2020 Share Posted December 7, 2020 почему нельзя сделать, чтобы свойство dgTitles работало просто без дополнительного кода: On 10/29/2019 at 11:56 AM, Sherzod said: sender.grid.getHeaderContainer().hide(); ? Link to comment Share on other sites More sharing options...
x11 Posted December 8, 2020 Share Posted December 8, 2020 On 10/29/2019 at 11:56 AM, Sherzod said: sender.grid.getHeaderContainer().hide(); not work for me uniGUI 1539 Link to comment Share on other sites More sharing options...
irigsoft Posted December 8, 2020 Share Posted December 8, 2020 Hi, I use CSS to hide titles of uniDBGird, please try this on CSS: /*Hide panel on uniDBGird*/ /* Upper panel */ /*.x-docked-top, */ /* Down panel */ /*.x-docked-bottom, */ .x-docked { /* visibility: hidden !important; */ height: 0px !important; } /*Hide upper panel - Column Titles*/ .x-grid-header-ct { /* visibility: hidden !important; */ height: 0px !important; } /*Hide down panel - page buttons */ .x-grid-paging-toolbar { /* visibility: hidden !important; */ height: 0px !important; } Link to comment Share on other sites More sharing options...
likemike Posted November 19, 2022 Share Posted November 19, 2022 On 12/8/2020 at 8:18 AM, irigsoft said: Hi, I use CSS to hide titles of uniDBGird, please try this on CSS: /*Hide panel on uniDBGird*/ /* Upper panel */ /*.x-docked-top, */ /* Down panel */ /*.x-docked-bottom, */ .x-docked { /* visibility: hidden !important; */ height: 0px !important; } /*Hide upper panel - Column Titles*/ .x-grid-header-ct { /* visibility: hidden !important; */ height: 0px !important; } /*Hide down panel - page buttons */ .x-grid-paging-toolbar { /* visibility: hidden !important; */ height: 0px !important; } Hello! This CSS doesn't work with mobile. Link to comment Share on other sites More sharing options...
irigsoft Posted November 19, 2022 Share Posted November 19, 2022 15 minutes ago, likemike said: Hello! This CSS doesn't work with mobile. yes, it is for desktop version. but You can search in google console for name of components Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2022 Share Posted November 19, 2022 34 minutes ago, likemike said: This CSS doesn't work with mobile. Hello, Try this approach: function painted(sender, eOpts) { sender.setConfig({hideHeaders: true}); } Link to comment Share on other sites More sharing options...
likemike Posted November 20, 2022 Share Posted November 20, 2022 Thx, but I've found that in the forum UnimDBGrid1.JSInterface.JSAddListener('painted', 'function(me){me.getHeaderContainer().hide()}'); That works for me (seems to be nearly the same). Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now