Jump to content

Sherzod

Moderators
  • Posts

    19725
  • Joined

  • Last visited

  • Days Won

    639

Everything posted by Sherzod

  1. https://docwiki.embarcadero.com/RADStudio/Sydney/en/F2047_Circular_unit_reference_to_'%s'_(Delphi)
  2. Простите, не всегда получается своевременно проанализировать...
  3. Hello, If I understand you correctly, I couldn't reproduce. Can you please explain in more detail?
  4. Hello, Try this approach for now: procedure TMainForm.UniFormReady(Sender: TObject); begin with UniDBTreeGrid1.JSInterface do JSCall('getView().setConfig', [JSObject(['stripeRows', True])]) end;
  5. Добрый день, Кажется ошибка в другом месте.
  6. So were you able to solve the problem?
  7. Hello, Can you please explain in more detail?
  8. .customDisabledCls { pointer-events: none; opacity: 0.4; }
  9. Hello, I think you can use the following approach. 1. CustomCSS: .customDisabledCls { pointer-events: none; } For example for the first button (UniPanel1). 2. "Disable": procedure TMainForm.UniButton1Click(Sender: TObject); begin with UniPanel1 do JSInterface.JSCall('addCls', ['customDisabledCls'], ToolButtons[0].JSMenuItem); end; 3. "Enable": procedure TMainForm.UniButton2Click(Sender: TObject); begin with UniPanel1 do JSInterface.JSCall('removeCls', ['customDisabledCls'], ToolButtons[0].JSMenuItem); end; 4. Important! You should also consider this logic, in the OnToolClick event: procedure TMainForm.UniPanel1ToolClick(Sender: TUniCustomButtonItem); begin // end;
  10. Hello, So far I haven't been able to figure out what it is. I think it's body...
  11. Добрый день, Попробуйте такое решение. 1. procedure TMainForm.UniFormCreate(Sender: TObject); begin UniListBox1.ClientEvents.ExtEvents.Values['store.add'] := 'function store.add(store, records, index, eOpts){Ext.defer(function(){'+ UniListBox1.JSName +'.boundList.select(records[0])}, 10)}'; end; 2. procedure TMainForm.UniButton1Click(Sender: TObject); var s: string; begin s := 'test9 new row 123'; UniListBox1.Items.Add(s); end;
  12. Some components are adapted to the version that comes with UniGUI. How do you want to use the new version? For what?
  13. Take a good look, the browser will show the new version as well. Sorry, I didn't pay attention. jquery.inputmask.min.js and jquery-xx.min.js are different libraries, although the first file depends on the second. jquery.inputmask.min.js - we can't unload this file at the moment because some components depend on it.
  14. Просто попробуйте scrollIntoView вместо scrollIntoViewIfNeeded
  15. Какая из них? Я не вижу второй картинки.
  16. function afterCreate(sender) { var list = sender.boundList; list.on('select', function() { if (list.getSelectedNodes()[0].scrollIntoViewIfNeeded) { list.getSelectedNodes()[0].scrollIntoViewIfNeeded() } else { list.getSelectedNodes()[0].scrollIntoView() } }); }
×
×
  • Create New...