Jump to content

dgTitles in unimdbgrid to false not working


TobiS

Recommended Posts

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

image.png.13aba760965b482175d6bc9e95c84527.png

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

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

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

  • 1 year later...

почему нельзя сделать, чтобы свойство dgTitles работало просто без дополнительного кода:

On 10/29/2019 at 11:56 AM, Sherzod said:

sender.grid.getHeaderContainer().hide();

?

Link to comment
Share on other sites

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

  • 1 year later...
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...