Jump to content
uniGUI Discussion Forums

Sherzod

Moderators
  • Content Count

    10612
  • Joined

  • Last visited

  • Days Won

    297

Sherzod last won the day on August 11

Sherzod had the most liked content!

Community Reputation

911 Excellent

About Sherzod

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male

Recent Profile Visitors

9177 profile views
  1. Sherzod

    Grid filters List

    Hello, Sorry, are you still using the trial version?
  2. Hello, Sorry for the late reply. Try this approach for now: 1. UniDBGrid1.ClientEvents.UniEvents - > function beforeInit(sender, config) { sender.correctBGColor = function () { sender.headerCt.getGridColumns().forEach(function(header) { var bgcolor = header.titleEl.getStyle('background-color'); if (bgcolor && bgcolor !== 'transparent') { header.el.select('[data-ref="innerCt"]').setStyle('background-color', bgcolor) } }); sender.correctBGColor = Ext.emptyFn; }; } 2. procedure TMainForm.UniFormReady(Sender: TObject); begin UniDBGrid1.JSInterface.JSCall('correctBGColor', []); end;
  3. Спасибо. function painted(sender, eOpts) { sender.bodyElement.dom.setAttribute('style', 'overflow-y:auto !important'); sender.bodyElement.select('.x-dock .x-dock-vertical').setStyle('overflow-y', 'auto'); if (sender.floating) { sender.floating.element.setStyle('height', 'auto'); } }
  4. Я проверю. (Если у Вас есть тестовый пример, пожалуйста прикрепите...)
  5. Здравствуйте, Я вчера открыл запрос...
  6. Thanks. How can we reproduce this issue?
  7. Sherzod

    TabBarVisible on TUnimTabPanel

    Hello, You can try to use this approach for now: http://forums.unigui.com/index.php?/topic/14648-tabbarvisible-dont-works-in-19001533/&do=findComment&comment=80063
  8. Hello, Which build are you using? Can you make a simple app?
  9. Sherzod

    uniHtmlMemo: reduce toolbar functions

    Hi, JSCall('execCmd', ['bold']); JSCall('execCmd', ['italic']); JSCall('execCmd', ['FontSize', 5]); // 0-7 1. htmlMemo... -> UniEvents function beforeInit(sender, config) { this.setColor = function(color) { this.execCmd('forecolor', Ext.isWebKit || Ext.isIE ? '#'+color : color); this.deferFocus(); }; this.setBGColor = function(color) { if (Ext.isGecko) { this.execCmd('useCSS', false); this.execCmd('hilitecolor', color); this.execCmd('useCSS', true); this.deferFocus(); } else { this.execCmd(Ext.isOpera ? 'hilitecolor' : 'backcolor', Ext.isWebKit || Ext.isIE ? '#' + color : color); this.deferFocus(); } } } 2. Usage: UniHTMLMemo1.JSInterface.JSCall('setColor', ['FF0000']); UniHTMLMemo1.JSInterface.JSCall('setBGColor', ['FF0000']);
  10. Sherzod

    how to hide tunitreemenu items dynamically

    Hello, Are you using the latest UniGUI builds?
  11. Hello, Can you make a simple testcase? And if you add this function?:
  12. Sorry, are you sure you have attached the correct test case?!
  13. Hi, Can you try to use this approach?
×