Jump to content

Sherzod

Moderators
  • Posts

    19789
  • Joined

  • Last visited

  • Days Won

    643

Everything posted by Sherzod

  1. Пожалуйста! ОК проанализирую, но если есть возможность, прикрепите здесь простой тестовый случай.
  2. Hello! Thank you for your interest in UniGUI!
  3. Something you have an error with text formatting:
  4. In any case, you can create a new test case and attach here, we will check
  5. Your code is correct and it should work.
  6. Добрый день, UniDBGrid1.RefreshCurrentRow();
  7. What code is in the server side? What is your problem?
  8. In your case: 1. ... <button type="button" class="btn btn-primary" onclick="ajaxRequest(MainForm.LbHTML,'button',['val='+document.getElementById('exampleInputEmail1').value])">Submit</button> ... 2. procedure TMainForm.LbHTMLAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName='button' then Begin //UniSession.AddJS('MainForm.UniEdit1.setValue(document.getElementById("exampleInputEmail1").value);'); UniEdit1.Text := Params.Values['val']; ShowMessage(UniEdit1.Text); End; end;
  9. If you do not use the trial version, first of all please adjust your forum email address:
  10. It seems I couldn't reproduce your issue. Can you explain in more details (or by making a simple testcase) ?!
  11. Hello, Can you please specify which edition and build of UniGUI are you using?
  12. Hi Mohammad, Which build are you using? How can we reproduce this?
  13. Hi, Sorry, can you explain a little more? Do you want to add a new series to the chart?
  14. Добрый день, Мы проанализируем. Но как обходной путь, попробуйте это решение: 1. type TExtPopup = class(TUniPopupMenu) end; 2. procedure TMainForm.UniDBGrid1CellContextClick(Column: TUniDBGridColumn; X, Y: Integer); begin //UniPopupMenu1.Popup(X, Y, UniDBGrid1); with TExtPopup(UniPopupMenu1).MenuControl.JSInterface do begin JSCall('showBy', [UniDBGrid1.JSControl]); JSCall('setPosition', [X+27, Y+27]); end; end;
  15. Sherzod

    unimLabel

    Здравствуйте, Попробуйте этот конфиг: procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UnimLabel1.JSInterface.JSConfig('userCls', ['hoverpanel']); end;
  16. Hi, How can we reproduce this issue? Can you make a simple testcase for this?
  17. Попробуйте следующий подход...: 1. UniDBTreeGrid -> ClientEvents -> ExtEvents -> function store.nodeexpand function store.nodeexpand(sender, eOpts) { var grid=this.grid, f; if (sender.data.root==true) {return}; sender.cascadeBy( function(){ if (f) return false; if (!this.get("leaf")) { this.expand(); } else { ajaxRequest(grid, "_sel", ["rec="+this.data[1]]); // Индекс Вашего ключевого поля f=true; } }); } 2. UniDBTreeGrid -> OnAjaxEvent: procedure TMainForm.UniDBTreeGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin if EventName = '_sel' then TUniDBGrid(Sender).DataSource.DataSet.Locate('KeyField....', Params.Values['rec'], []) end;
  18. Hi Dominique, If possible can you make a simple testcase for this? You may need to change some properties and methods of the modal form
  19. Думаю, что это нормальное поведение, не так ли? Т.е., Вы хотите перейти на первый дочерний узел, который не имеет дочернего узла... ?!
  20. Здравствуйте, Простите, можете уточнить Ваш вопрос?
×
×
  • Create New...