Jump to content

Recommended Posts

Posted

Hi

 

I do it,but it fixed in size.

How to I can change it by code.As when the parent form Maximized or changed size ,the cell height and width change.

 

 

3drd_a.jpg  

Best Regards.

Posted

Hi

 

I set the UniStringGrid  name=SGCal

And write below code in UniFormResize 

UniSession.AddJS('document.getElementById("SGCal").setAttribute = "height: 60px";');

But Error Showed.

 

 

es4_1.jpg

 

Best Regards.

Posted

Hi,

 

Maybe something like this:

 

1. ... CustomCSS:

.SGCal .x-grid-table {
    height: 100%;
}

.SGCal .x-grid-cell-inner{
    background-color:  transparent !important;
}

2. SGCal -> ForceFit = True

 

3. SGCal -> ... -> beforeInit fn:

function beforeInit(sender, config)
{
    config.cls = "SGCal";
}
  • 10 months later...
Posted

Hi A.Soltani,

  " After Install 1426 version ,the cells height ,Back to the original state. "

  Did you get a solution for this as I am trying to get my cells to autosize as well?

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...