Jump to content

jameswong

Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by jameswong

  1. hello, i want to change the tab'height of pagecontrol, like this:

     

    PageControl -> ClientEvents -> ExtEvents -> [Ext.tab.Panel [tabPanel]] -> afterrender fn:
    function tabPanel.afterrender(sender, eOpts)
    {
        var _height = 35;
        sender.tabBar.setHeight(_height);
        sender.tabBar.items.each(function(el) {
            el.setHeight(_height)
        })
    }

     

    but it have The space on the bottom of the tab, how to sovle? thank you

     

     

  2. hi, i have a idea , my panel is not visible, it is visible when i need.

    i want to change its z-index by js, UniSession.AddJS(),how to write this? thanks

    Hi,

     

    Firstly, you need to use the latest version.

     

    And I'm sorry I could not reproduce your case...

     

    Please consider upgrading to a commercial license, so we can provide you a better level of support.

     

    Best regards.

     

  3. i put a unipanel to your filtering demo ,then it have the same problem that the dbgrid's title aways in front of form,look at the pictures

    http://img2.ph.126.net/56hVOqnL4Yi8q1wME1ZAlA==/6631776950701982342.png

     

    http://img1.ph.126.net/OfAgX8X1HXPkUAQjCnzCqQ==/6631884702838402147.png

     

    Hi,

     

    Firstly, you need to use the latest version.

     

    And I'm sorry I could not reproduce your case...

     

    Please consider upgrading to a commercial license, so we can provide you a better level of support.

     

    Best regards.

  4. but  i don't use UniDBLookupComboBox1, i create a field which kind is looupup. i see the demo of dbgridlookup( not  UniDBLookupComboBox) which have not clearbutton, how to do that

    Hi,

     

    On the UniDBLookupComboBox, which is the editor for your lookupfield,

     

    For example:

    UniDBLookupComboBox1.ClearButton => [False]
    UniDBGrid1.Columns[yourLFieldIndx].Editor => [UniDBLookupComboBox1]

    Best regards.

  5. hi, how to set tab height and its font on ​pagecontrol

    Hi,

     

    Try...

     

    1. UnimDBGrid1 -> ClientEvents -> UniEvents ... beforeInit fn:

    function beforeInit(sender, config)
    {
      config.itemHeight = 30;
      config.headerContainer = {
        height: 30
      };
    }

    2. UniServerModule -> CustomCSS ... add

    .x-grid .x-grid-column {
        border-style: solid;
        border-width: 1px 1px 0;
        height: 30px;
        line-height: 30px;
        padding: 0 8px;
        vertical-align: middle;
        font-family: 'Times New Roman', Times, serif;
        font-size:  11pt;
        font-weight: bold;
    }
    
    .x-grid .x-grid-cell {
        height: 30px !important;
        line-height: 30px !important;
        font-family: 'Times New Roman', Times, serif;
        font-size:  11pt;
    }

    Best regards.

  6. 0.99.80.1259,

    if i use the combox it can reflesh,but this is not i want, i need two fields ,one field display(name) and one field to save(id),so i need to use lookupfield,but it can't reflesh when i change the lookupdataset, i wirte "fieldbyname('lookup').refleshlookupdataset" but don't work

    uniGUI version?

     

×
×
  • Create New...