Jump to content

Sherzod

Moderators
  • Posts

    19685
  • Joined

  • Last visited

  • Days Won

    636

Everything posted by Sherzod

  1. Sherzod

    dbgrid summary

    Or just use UniDBGrid -> Summary -> Align = taBottom (or taTop)
  2. Sherzod

    dbgrid summary

    Hi, Have you seen this demo?: \FMSoft\Framework\uniGUI\Demos\Desktop\GridGroupingSummaryGrandTotal
  3. Hi, Try this: 1. UniTreeMenu -> LayoutConfig -> Cls = _treemenu 2. CustomCSS: ._treemenu .x-treelist, ._treemenu .x-treelist-row{ background-color: green; }
  4. Hi, Can you make a simple testcase for this?! Best regards,
  5. Yes, there is a compatibility problem
  6. Hi, Sorry, what problem do you have?
  7. Hi, One possible solution I guess UniDBGrid -> ClientEvents -> ... function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { var me = sender, maxY = 0; me.columnManager.columns.forEach(function(el) { if (el.fedit && el.fedit.getY() > maxY) { maxY = el.fedit.getY() } }); if (maxY > 0) { me.columnManager.columns.forEach(function(el) { if (el.fedit) { el.fedit.setY(maxY - el.fedit.getHeight()); el.fedit.setX(el.fedit.getX() - 5); } }); } }
  8. For what purpose do you want to use it?
  9. You can try to use this JS event: function store.load(sender, records, successful, operation, eOpts) function store.load(sender, records, successful, operation, eOpts) { // }
  10. Hi, Try this solution for now: 1. First, set this config: function treeMenu.beforeInit(sender, config) function treeMenu.beforeInit(sender, config) { config.singleExpand=false; } 2. FullExpand: procedure TMainForm.UniButton1Click(Sender: TObject); begin UniTreeMenu1.JSInterface.JSCode(#1'.getStore().data.items.forEach(function(el){el.expand()});'); end; 3. FullCollapse: procedure TMainForm.UniButton1Click(Sender: TObject); begin UniTreeMenu1.JSInterface.JSCode(#1'.getStore().data.items.forEach(function(el){el.collapse()});'); end;
  11. Hi, You can use this config: http://forums.unigui.com/index.php?/topic/7624-unicalendar/&do=findComment&comment=38953 Best regards,
  12. Hello, Just my opinion. Can you work with the theme of Neptune for example, where more beautifully displayed...?
  13. Hi, As an approximate solution for now procedure TMainForm.UniButton1Click(Sender: TObject); var I: Integer; _llist: string; begin with UniTreeMenu1 do begin SourceMenu.Items[0].Visible := False; _llist := ''; for I := 0 to SourceMenu.Items.Count-1 do if not SourceMenu.Items[I].Visible then if _llist='' then _llist := '"'+SourceMenu.Items[I].Caption+'"' else _llist := _llist + ',"' + SourceMenu.Items[I].Caption+'"'; if _llist<>'' then begin JSInterface.JSCall('getStore().clearFilter', []); JSInterface.JSCode(#1'.getStore().filterBy(function (record){ if (['+ _llist +'].indexOf(record.get("text"))>-1) return false; else return true;});'); end else JSInterface.JSCall('getStore().clearFilter', []); end; end; Best regards,
  14. This post can help you: http://forums.unigui.com/index.php?/topic/7497-tab-spacing-inside-unidbmemo/
  15. Ok, then you can try this: iframe.contentWindow.location.href
  16. Hi, One possible solution like in this post: http://forums.unigui.com/index.php?/topic/9347-tuniedit-selstart/&do=findComment&comment=49258 (Ext.form.field.TextArea instead of Ext.form.field.Text) Ext.form.field.TextArea.prototype._selectSE = function(start, end) { var input = document.getElementById(this.inputEl.id); if ('selectionStart' in input) { input.selectionStart = start; input.selectionEnd = end; input.focus(); } else { // Internet Explorer before version 9 var inputRange = input.createTextRange(); inputRange.moveStart("character", 1); inputRange.collapse(); inputRange.moveEnd("character", 1); inputRange.select(); } }
  17. This means that you can use one of the configurations, i.e. triggers
  18. For security reasons, you can only get the url for as long as the contents of the iframe, and the referencing javascript, are served from the same domain...
  19. First of all please adjust your forum email address: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/
  20. Sorry, which edition? Are you using a trial edition or ?! In any case, use the latest version!
  21. Hi, Please use this approach for now:
×
×
  • Create New...