Jump to content

Sherzod

Moderators
  • Posts

    21459
  • Joined

  • Last visited

  • Days Won

    730

Everything posted by Sherzod

  1. In the case of UniURLFrame or any iframe with an external/built-in PDF viewer, it is not possible to programmatically hide the title using standard methods.
  2. Hello, I will check.
  3. Да, такое свойство действительно есть, если Вы используете компонент spinedit. Вот обсуждение на форуме:
  4. Вы тогда можете отключить некоторые JS-события, например columnmove, columnhide/show и т.п., и выполнять показ/скрытие/перемещение столбцов только на стороне клиента.
  5. Быстрое решение: #files-container { padding: 10px 10px 10px 10px; height: calc(100% - 34px); overflow-y: auto; background: #f8f9fa; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 10px; }
  6. Hello, I understand your interest in getting a quick solution, and we all try to help each other here as much as possible. However, please keep in mind that not all questions get an instant or complete answer on the forum. Sometimes it takes time and effort to find or test a working solution. For your first scenario (selecting a range of cells), I recommend checking this post: You can analyze how to get the selected cells, but you will need to do some additional research and adjustments to fully implement the required logic. For the second scenario (selecting arbitrary cells), you can analyze the cellclick event, and try to add/remove a custom selection class on click. Later, you can collect all selected cells by their class name. These are just some hints to point you in the right direction. Hope this helps a bit.
  7. Добрый день! Вы можете использовать делегирование событий. MainForm.Script -> document.addEventListener('keydown', function(e) { var target = e.target; if (target.tagName === 'INPUT' && target.type === 'number') { if (e.keyCode === 38 || e.keyCode === 40) { e.preventDefault(); } } });
  8. Добрый день! Подскажите, пожалуйста, Ваша сетка используется только для просмотра данных (т.е. read-only), или в ней разрешено редактирование?
  9. Добрый день! Если есть возможность, могли бы Вы создать тестовый пример и выложить его на сервер, чтобы была возможность проверить работу через интернет?
  10. Hello, Please refer to the official uniGUI guide for more details: https://www.unigui.com/doc/online_help/using-a-different-account-for-.htm
  11. Подскажите, пожалуйста, какую сборку uniGUI вы используете, какая тема применена, какое выравнивание и где размещён TUniHTMLFrame?
  12. Do you mean selecting a continuous range of cells (like in Excel), or selecting individual cells separately using Ctrl+Click?
  13. I will try to check.
  14. May I ask what is the goal of selecting multiple cells in your case?
  15. Добрый день @AlexanderP Вам также следует задействовать navigationModel, чтобы правильно обновлялся фокус при переходе.
  16. Hello, Which build, theme? How can we reproduce?
  17. Hello,
  18. @AlexanderP Попробуйте это решение: 1. function keydown(sender, e, eOpts) { if (e.getKey() === e.ENTER) { if(!e.shiftKey) { var edPl = sender.ownerCt.editingPlugin; if(edPl) { edPl.completeEdit(); return false; } } } } 2. UniMemo1.ClientEvents.ExtEvents -> function afterrender(sender, eOpts) { sender.enterIsSpecial = true; if (!sender._shiftEnterAttached) { sender._shiftEnterAttached = true; sender.inputEl.dom.addEventListener('keydown', function(e) { if (e.key === 'Enter' && e.shiftKey) { e.preventDefault(); e.stopPropagation(); const el = e.target; const start = el.selectionStart; const end = el.selectionEnd; el.value = el.value.slice(0, start) + '\n' + el.value.slice(end); el.selectionStart = el.selectionEnd = start + 1; } }); } }
  19. 1. CustomCSS -> .custom-grid .x-grid-cell-selected { background: none !important; } 2.
  20. Hello, Do you mean selecting multiple cells?
×
×
  • Create New...