Hello,
(yes I'm new)
I'm making a form with a field that requires selecting the value from a tree, as well as filtering the tree's contents before value selection. I extended TextItem by adding a TreeGrid for picking the value, and used the TextItem's value in filtering the tree.
Seems to work fine, but I'm having a hard time hiding the TreeGrid if the user selects nothing and clicks on some other item. There seems to be no addBlurHandler method for TreeGrid?
Any thoughts on how to get rid of the TreeGrid? Can I somehow add a blur handler to it (addHandler seemed promising, but I could not get it to work)? I guess I could put the TreeGrid in a borderless window or something, but it just feels a bit .. wrong :).
I'm using SmartGWT 1.2.
TY,
pm
(yes I'm new)
I'm making a form with a field that requires selecting the value from a tree, as well as filtering the tree's contents before value selection. I extended TextItem by adding a TreeGrid for picking the value, and used the TextItem's value in filtering the tree.
Seems to work fine, but I'm having a hard time hiding the TreeGrid if the user selects nothing and clicks on some other item. There seems to be no addBlurHandler method for TreeGrid?
Any thoughts on how to get rid of the TreeGrid? Can I somehow add a blur handler to it (addHandler seemed promising, but I could not get it to work)? I guess I could put the TreeGrid in a borderless window or something, but it just feels a bit .. wrong :).
I'm using SmartGWT 1.2.
TY,
pm
Comment