Jump to content

Sherzod

Moderators
  • Posts

    19685
  • Joined

  • Last visited

  • Days Won

    636

Everything posted by Sherzod

  1. Добрый день, Этот пост может Вам помочь: http://forums.unigui.com/index.php?/topic/6931-unimdbgrid-selected-row-color/&do=findComment&comment=35280
  2. Hi, Maybe this post can help you ?!: http://forums.unigui.com/index.php?/topic/10508-update-dataset-events-in-unidbgrid/
  3. http://forums.unigui.com/index.php?/topic/10689-unitreemenu-with-labels/page-2&do=findComment&comment=56849
  4. function treeMenu.afterCreate(sender) { sender.el.setStyle('overflow-y', 'auto'); } http://forums.unigui.com/index.php?/topic/10689-unitreemenu-with-labels/page-2&do=findComment&comment=56838
  5. http://forums.unigui.com/index.php?/topic/10689-unitreemenu-with-labels/page-2&do=findComment&comment=56838
  6. Hello, Can you try this approach?: function treeMenu.afterCreate(sender) { sender.el.setStyle('overflow-y', 'auto'); }
  7. \FMSoft\Framework\uniGUI\Demos\Desktop\ServerMonitor - Add Page
  8. http://forums.unigui.com/index.php?/topic/6067-donecancel-button-can-modify-to-another-text/&do=findComment&comment=56210
  9. Спасибо! В первую очередь, Вы можете настроить свой email: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/
  10. Добрый день, К сожалению, на данный момент - нет, невозможно. Но Вы можете "частично" менять Web интерфейс
  11. Добрый день! Какое издание UniGUI Вы используете ?!
  12. Also in "runtime": Add: <GridObject>.JSInterface.JSCall('addCls', ['custom-grid']); Remove: <GridObject>.JSInterface.JSCall('removeCls', ['custom-grid']);
  13. Hi, 1. CustomCSS: .custom-grid .x-grid-group-hd { background-color: yellowgreen; } .custom-grid .x-grid-group-title { color: black; } 2. UniDBGrid -> ClientEvents -> UniEvents -> function beforeInit: function beforeInit(sender, config) { config.cls='custom-grid'; }
  14. Hi, OK JavaScript is a case-sensitive scripting language! You have: uniMemo1 You use: MainForm.UniMemo1.SetValue("test"); In your case it should be: MainForm.uniMemo1.setValue("test");
  15. Have you tried?: MainForm.UniMemo1.setValue('test');
  16. Hi, Do you want to use JS code on the client side?
  17. Can you also try this approach ? function initialize function initialize(sender, eOpts) { sender.iframeEl.el.dom.contentWindow.oncontextmenu=function(){ return false }; }
  18. One possible solution I think CustomCSS: .x-grid-group-hd { background-color: yellowgreen; } .x-grid-group-title { color: black; }
  19. Ok, Thanks for the testcase Which browser are you using?!
  20. Hi, Can you try this approach?: 1. function beforeInit(sender, config) { config.tree.getItemConfig=function (node, parent) { var item = Ext.apply({ parentItem: parent.isRootListItem ? null : parent, owner: this, node: node, indent: this.getIndent() }, this.getDefaults()); if(node.data.iconCls==="x-tree-node-icon-blank"){ node.data.rowCls="nodolabel"; node.data.disabled=true; //<------------------------- } return item } } 2. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniTreeMenu1.JSInterface.JSAddListener('itemclick', 'function(me,c,d){return !(c.node.data.disabled)}'); end;
  21. Hi, Are you using a template? Can you make a simple testcase if possible?!
×
×
  • Create New...