nimarufa Posted November 19, 2019 Share Posted November 19, 2019 Hello! Is it possible to use Checkboxes for nodes in UniTreeMenu like in UniTreeView? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2019 Share Posted November 19, 2019 14 minutes ago, nimarufa said: Is it possible to use Checkboxes for nodes in UniTreeMenu like in UniTreeView? Hello, I guess not... For what purpose do you want to use it? Quote Link to comment Share on other sites More sharing options...
nimarufa Posted November 19, 2019 Author Share Posted November 19, 2019 I have UniTreeMenu with some columns, but i need to select multiple nodes in tree. The column with checkboxes looks not user-friendly for that. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2019 Share Posted November 19, 2019 3 minutes ago, nimarufa said: I have UniTreeMenu with some columns Can you make a simple testcase for this? Quote Link to comment Share on other sites More sharing options...
nimarufa Posted November 19, 2019 Author Share Posted November 19, 2019 Sorry, not UniTreeMenu. UniDBTreeGrid is used to add column with CheckBoxes. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 19, 2019 Share Posted November 19, 2019 1 minute ago, nimarufa said: Sorry, not UniTreeMenu. UniDBTreeGrid is used to add column with CheckBoxes. Please clarify again what you wanted, and if possible make a test case. Quote Link to comment Share on other sites More sharing options...
nimarufa Posted November 23, 2019 Author Share Posted November 23, 2019 Here the test case. And some bugs with it too. And i try to explain. 1. If i click on Check column, BUT not directly on CheckBox. The checkbox is checked fast and all OK - UniDBTreeGrid2CellClick Event fired Once on Chrome and Firefox. 2. With Chrome Browser! When I Click DIRECTLY on Checkbox UniDBTreeGrid2CellClick fired TWICE. (on subitems of Item3 and Item2) the "Loading data" message apeear: 3. With Firefox Browser! When I Click DIRECTLY on Checkbox, the focus is switching to this cell, but UniDBTreeGrid2CellClick NOT fired and checkbox is not change its state. I Must click to the same checkbox again and then Event fired TWICE. And on subitems of Item3 and Item2 the "Loading data" message apeear too. 4. It would be great to display Checkboxes on the Tree like in UniTreeView : I would happy with any suggestions to checkbox to work fast without "Loading data" lag and from the first click. DBTreeGridTest2.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 23, 2019 Share Posted November 23, 2019 7 minutes ago, nimarufa said: Here the test case. And some bugs with it too. I will try to analyze. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 23, 2019 Share Posted November 23, 2019 2 hours ago, nimarufa said: Here the test case. And some bugs with it too. Can you check with this?: function cellclick(sender, td, cellIndex, record, tr, rowIndex, e, eOpts) { e.preventDefault(); } Quote Link to comment Share on other sites More sharing options...
nimarufa Posted November 25, 2019 Author Share Posted November 25, 2019 Great thank you. This solved problem with event called twice and all work fast. But in Firefox still need to click twice to change checkbox state. Another question: How can I move column with checkboxes to the left at first position? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 25, 2019 Share Posted November 25, 2019 4 minutes ago, nimarufa said: But in Firefox still need to click twice to change checkbox state. I will check. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.