Skip to content

Replies

0
Ngan Le Thi
Ngan Le Thi answered on Oct 23, 2015 4:58 PM

Hi Ivaylo,

Sorry for reply late. I think that’s a way too. Howerer, I use another way and it works fine also: Right after the tree rendered:

– Add class ‘ui-state-disabled’ for the span[data-role=”checkbox”] for each item need to be disabled (select nodes by Value or Text, depends on your business)

– Remove all classes of span.ui-icon nested in span[data-role=”checkbox”]

Then user cannot check the item (like a disabled checkbox).

(you can see attachment)

Thannk,

Ngan

0
Ngan Le Thi
Ngan Le Thi answered on Oct 19, 2015 5:22 PM

Hi Ivaylo,

I meant is there any way to disable a checkbox(btw, it is a parent node) in tree. I have a tree (2 levels) and there're some nodes should be disabled (not allow for user check the checkbox). Or can we apply a class/style for checkbox to make it disable (when user click checkbox, no event is fired)

It's like business to disable/enable a button. I couldn't found out an API or option to make a checkbox node disabled in tree.

Thanks,

Ngan

0
Ngan Le Thi
Ngan Le Thi answered on Apr 22, 2014 9:47 AM

Hi Dimka, this is an independent datepicker control and when we implement to UpdatingGrid, I still have some issues. I would like to clarify something we need:

– In display mode: Display in format "d MMM": I did, it ok

– In Editing mode (user click to datetimepicker cell):

 + Input is like as read-only (user cannot type)

 + Display in format "d MMM" as above

 + Open DatePicker dialog

 + Dont need show dropdown area in right (due to DatePicker dialog is open when click to cell)

Thanks,

Ngan