-
Posts
19642 -
Joined
-
Last visited
-
Days Won
634
Content Type
Profiles
Forums
Events
Everything posted by Sherzod
-
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); } }); } }
-
For what purpose do you want to use it?
-
You can try to use this JS event: function store.load(sender, records, successful, operation, eOpts) function store.load(sender, records, successful, operation, eOpts) { // }
-
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;
-
Hi, You can use this config: http://forums.unigui.com/index.php?/topic/7624-unicalendar/&do=findComment&comment=38953 Best regards,
-
Hello, Just my opinion. Can you work with the theme of Neptune for example, where more beautifully displayed...?
-
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,
-
This post can help you: http://forums.unigui.com/index.php?/topic/7497-tab-spacing-inside-unidbmemo/
-
Ok, then you can try this: iframe.contentWindow.location.href
-
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(); } }
-
This means that you can use one of the configurations, i.e. triggers
-
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...
-
Disable "Column" submenu in grid header context menu
Sherzod replied to tappatappa's topic in Feature Requests
Hi, Which edition and build are you using?! -
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/
-
Sorry, which edition? Are you using a trial edition or ?! In any case, use the latest version!
-
Hi, Please use this approach for now:
-
Hello, sender.id ?
-
Hi, Try this: ajaxRequest(sender,"geturl" , ["_value="+sender.iframe.src]);
-
Hi, Like this for example: UniDBNavigator1.DataSource := DataSource2; ?! Or can you please clarify your question in more detail?
-
Hi, We are online Can you make a simple testcase for this?!
-
Hi, Can you make a simple testcase with "the starting URL is google.com" ?!
-
Hi, Yes sorry, Try this: function afterrender(sender, eOpts) { // focus on field var cmp = sender; Ext.QuickTips.init(); Ext.defer(function() { cmp.inputEl.dom.focus(); cmp.inputEl.dom.style.width = "70%"; }, 100); // listen virtual keyboard keys cmp.inputEl.on({ mousedown: function(ev) { if (ev.target.tagName === 'TD') { // We trigger change event only on textfield with the focus if (document.activeElement) { if (document.activeElement.id === cmp.inputEl.dom.id) cmp.fireEvent('change'); } } }, delegate: '#keyboardInputMaster' }); VKI_attach(sender.inputEl.dom); var vkb = cmp.el.query('.keyboardInputInitiator')[0]; if (vkb) { vkb.style.position = 'absolute'; if (cmp.rtl) { vkb.style.left = '0px' } else { vkb.style.right = '0px' } vkb.style.top = '0px'; vkb.style.padding = '3px 1px'; } }
-
Hello, Which edition and build are you using?