Jump to content

Sherzod

Moderators
  • Posts

    19691
  • Joined

  • Last visited

  • Days Won

    637

Everything posted by Sherzod

  1. Здравствуйте, function afterCreate(sender) { let items = sender.getTriggers(); for (let [key, value] of Object.entries(items)) { if (key !== "clear") { value.setDisabled(false); } }; }
  2. function afterrender(sender, eOpts) { sender.headerCt.el.on('dblclick', function() { ajaxRequest(sender, 'headerdblclick', []); }); }
  3. Hi, And what about this soution?
  4. Hi, Please clarify the version again? Have you used any additional JS, CSS!?
  5. Hi, When you create a new project, the default value for the service name is: UniServiceModule You can change it from ServiceModule.pas->UniServiceModule->Name ? http://unigui.com/doc/online_help/windows_service.htm
  6. Uses IniFiles; procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); var Ini: TIniFile; begin Ini := TIniFile.Create(ExtractFilePath(ParamStr(0)) + 'AppIni.ini'); try Port := Ini.ReadInteger('Settings', 'Port', 8077); finally Ini.Free; end; end; What type of application?
  7. UnimButton5.JSInterface.JSAddListener('tap', 'function(){return '+ Self.WebForm.JSForm.JSName +'.isValid()}');
  8. Hi, Which edition of UniGUI are you using? How can we reproduce this issue?
  9. Отлично. Вам нужно ещё учесть "dirtychange". Т.е., при присвоении значений программным путем, при "copy/paste".
  10. Я вижу несколько способов. Первый способ: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniEdit1.JSInterface.JSConfig('allowBlank', [False]); UniEdit2.JSInterface.JSConfig('allowBlank', [False]); UniButton1.JSInterface.JSAddListener('click', 'function(){return '+ Self.WebForm.JSForm.JSName +'.isValid()}'); end; Второй способ: Использовать привязки (bind). ...
  11. Hello, Please explain in more details what you wanted. Maybe you should look at these demo examples: \FMSoft\Framework\uniGUI\Demos\Desktop\PaintDemo \FMSoft\Framework\uniGUI\Demos\Desktop\CanvasDemo
  12. Мне кажется самый простой способ, использовать клиентское событие: function keypress(sender, e, eOpts) { }
  13. I don't know, it seems this functionality is available in the premium version.
  14. We will check this issue? Which build are you using?
  15. Hello, Thank you for your interest in UniGUI. It seems simple integration shown in this code: <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8' /> <link href='fullcalendar/main.css' rel='stylesheet' /> <script src='fullcalendar/main.js'></script> <script> document.addEventListener('DOMContentLoaded', function() { var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { initialView: 'dayGridMonth' }); calendar.render(); }); </script> </head> <body> <div id='calendar'></div> </body> </html> And the rest depends on what functionality you want to implement.
  16. Hello, Can you share your solution?
  17. Then try to set .customGrid .x-grid-cell-inner-action-col { left: 20px; // checkbox column width + xx position: absolute; }
  18. Hello, Please describe your case fully.
  19. procedure TMainForm.UniDBGrid1ColumnActionClick(Column: TUniDBGridColumn; ButtonId: Integer); begin case ButtonId of 0 : ... end; ?
  20. OK. 1. Add ActionColumn, Width = 0 2. CustomCSS .customGrid .x-action-col-icon { display: none; } .customGrid .x-grid-item-over .x-action-col-icon { display: initial; } .customGrid .x-grid-cell-inner-action-col { left: 0; position: absolute; } 3. UniDBGrid -> LayoutConfig -> Cls = customGrid
  21. Let's say you are using actionColumn. If the buttons are displayed on the left side, is this acceptable for you?
  22. An approximate view of the grid using ActionColumn (buttons appear on hover):
×
×
  • Create New...