Categories | Question details Back To List | ||
getSelectedItemId return value What return value can I expect from getSelectedItemId, if no item is selected? I was expecting null, as is the case with getSelectedRowId, but that's not the case. Thanks. Phil Answer posted by Support on Jan 23, 2009 09:21 The functionality of tree was created to mimic API of its applet ancestor, so its returns just an empty value in such case For both methods logical value of response is false, so you can use if (!id) return "nothing" |