jQWidgets Forums
Forum Replies Created
-
Author
-
June 2, 2021 at 6:56 am in reply to: Treegrid display a checkbox in a column Treegrid display a checkbox in a column #120281
Hello – Yavor,
I think we are nearly there, but some issues remain.
Firstly, the statement:
let checkBox ='<div class=’jqxcheckbox’>Click me</div>’;
needed to be corrected to:
let checkBox =”<div class=’jqxcheckbox’>Click me</div>”;
Secondly, I need the value to be displayed as a checked box. i.e.
I suspect that a statement like:
checkBox.jqxCheckBox({ checked:value }); should follow the let statement.
But when I try this I get the following error:
Uncaught TypeError: checkBox.jqxCheckBox is not a function
Clearly, I am still missing something.
Any help on this will be appreciated!
Alastair
June 1, 2021 at 6:19 am in reply to: Initialise the treegrid with all parent and child checkboxes unchecked Initialise the treegrid with all parent and child checkboxes unchecked #120266Thank you so much! What an excellent idea!
It would never have occurred to me to use the CSS route!
Best regards,
Alastair
April 9, 2021 at 4:24 pm in reply to: Getting a Tree drag and drop to work Getting a Tree drag and drop to work #115057Oh my!
Thank you so much for spotting the problem!
Much appreciated!
Alastair
October 21, 2020 at 11:14 am in reply to: Tree: Set width of text display Tree: Set width of text display #113407Ok – that is very helpful!
Thank you very much!
Alastair
October 20, 2020 at 12:37 pm in reply to: Tree: Set width of text display Tree: Set width of text display #113394Hello – Martin,
As a sequal to the note above, I have a component where I have two trees, side by side (in different divisions).
What I find in using the CSS handle i.e. .jqx-tree-item, is that it is common to both trees.
I would like to be able to set the text display widths for each tree independently of the other.
Can this be achieved? (It seems to me that I will need something like .jqx-tree-item-left and .jqx-tree-item-right, to be able to do this.
Is this feasible to set up?
Many thanks,
Alastair
October 17, 2020 at 11:22 am in reply to: Tree: Set width of text display Tree: Set width of text display #113367Martin – thank you very much! That is very helpful!
Alastair
-
AuthorPosts