-
Posts
21459 -
Joined
-
Last visited
-
Days Won
730
Content Type
Profiles
Forums
Events
Everything posted by Sherzod
-
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.
-
Hello, I will check.
-
TUniEdit, InputType = Number отключить реагирование на клавиши up-down
Sherzod replied to AlexanderP's topic in Russian
Да, такое свойство действительно есть, если Вы используете компонент spinedit. Вот обсуждение на форуме: -
Проблема с массовым скрытие/отображением колонок в UniDBGrid
Sherzod replied to Andrei Krivosheichuk's topic in Russian
Вы тогда можете отключить некоторые JS-события, например columnmove, columnhide/show и т.п., и выполнять показ/скрытие/перемещение столбцов только на стороне клиента. -
Try: Banana<br>Apple
-
Быстрое решение: #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; }
-
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.
-
TUniEdit, InputType = Number отключить реагирование на клавиши up-down
Sherzod replied to AlexanderP's topic in Russian
Добрый день! Вы можете использовать делегирование событий. 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(); } } }); -
Проблема с массовым скрытие/отображением колонок в UniDBGrid
Sherzod replied to Andrei Krivosheichuk's topic in Russian
Добрый день! Подскажите, пожалуйста, Ваша сетка используется только для просмотра данных (т.е. read-only), или в ней разрешено редактирование? -
Добрый день! Если есть возможность, могли бы Вы создать тестовый пример и выложить его на сервер, чтобы была возможность проверить работу через интернет?
-
Hello, Please refer to the official uniGUI guide for more details: https://www.unigui.com/doc/online_help/using-a-different-account-for-.htm
-
Подскажите, пожалуйста, какую сборку uniGUI вы используете, какая тема применена, какое выравнивание и где размещён TUniHTMLFrame?
-
Do you mean selecting a continuous range of cells (like in Excel), or selecting individual cells separately using Ctrl+Click?
-
I will try to check.
-
👍
-
Получилось?
-
Проблема с массовым скрытие/отображением колонок в UniDBGrid
Sherzod replied to Andrei Krivosheichuk's topic in Russian
Добрый вечер! Сборка uniGUI? -
May I ask what is the goal of selecting multiple cells in your case?
-
Добрый день @AlexanderP Вам также следует задействовать navigationModel, чтобы правильно обновлялся фокус при переходе.
-
Hello, Which build, theme? How can we reproduce?
-
Отлично!
-
@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; } }); } }
-
Hello, Do you mean selecting multiple cells?