Jump to content

Sherzod

Moderators
  • Posts

    19683
  • Joined

  • Last visited

  • Days Won

    634

Everything posted by Sherzod

  1. Hello, If a browser is used, then only through a browser.
  2. Hello, I'm sorry, your case is not very clear to me.
  3. Are you sure you are capturing the event on this component?:
  4. Also, please analyze this demo: \FMSoft\Framework\uniGUI\Demos\Desktop\ClientEvents-HtmlToAjax See ClientEvents -> UniEvents -> And analyze HTML property...
  5. Hello, Okay, you can try this approach. 1. Replace with this: function afterrender(sender, eOpts) { sender.getEl().dom.addEventListener('click', function(e) { if (e.target && e.target.classList[0] == 'x-boundlist-item') { ajaxRequest(sender, '_click', ['dataindex='+e.target.getAttribute('data-recordindex')]); } else if (e.target && e.target.type && e.target.type == "checkbox") { ajaxRequest(sender, '_click', ['dataindex='+e.target.getAttribute('tag')]); } }); } ...
  6. Hello, Okay, let it be so when with a multi-select. But what do you want knowing itemindex?
  7. Well, specifically for your case, you can do this: 1. <p><button onclick="window.parent.ajaxRequest(window.MainForm.UniHTMLFrame1,'_saludar', []);">Test 3</button></p> 2. procedure TMainForm.UniHTMLFrame1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = '_saludar' then showmessage('hi!'); end;
  8. Hello, Have you seen the related demos? And please specify which edition and build of UniGUI are you using?
  9. Okay, Could you please make a simple testcase?
  10. .customFUpload .x-btn-inner { font-size: 10px; color: green !important; } Using <br> Caption := 'Please drop file(s) or click here<br>second line';
  11. 1. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniFileUploadButton1.JSInterface.JSConfig('cls', ['customFUpload']); end; 2. CustomCSS: .customFUpload .x-file-area { border: none; opacity: 0.5; }
  12. Yes.. I couldn't reproduce. Simple testcase?
  13. Okay. This demo may help you !? \Framework\uniGUI\Demos\Desktop\FileUpload - DragDrop
  14. Hello, First of all, can you please specify which edition and build of UniGUI are you using?
  15. Hello, First of all please specify the edition and build of UniGUI you are using. Please see and analyze the related demos, for example: \FMSoft\Framework\uniGUI\Demos\Desktop\GridMultiSelect Can you please clarify?
  16. You can try also this approach: function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { var widgetColIndx = 1; columns[widgetColIndx].onWidgetAttach = function(column, widget, record) { widget.addCls('customBtn'); }; }
  17. Hello @mikromundo Could you please explain in more detail?
  18. Hello, Can you please specify first, which edition and build of UniGUI are you using?
×
×
  • Create New...