Bug with multiselect -> ctrl-click
Hi,
I want to report on a bug I encountered when I use the multiselect. Perhaps I am doing something wrong or missed out on a previous post, but here's the deal:
I have enabled multiselect and it works fine, unless the following actions are executed:
1. Open a multiselect grid without any selection set.
2. Ctrl-click right away on any item, before selecting a row without holding the ctrl-button.
I try to fetch my data as always like this:
However, src.getSelectionProperty("index"); does not work because 'myData[...] is null or not an object', according to IE.
When I first select an item without holding the ctrl-button, deselect it and then repeat the steps described above, the selection does function as expected.
Why does it not in the first place?
Regards,
Yereth
ps. You've done really a great job with creating the grid. My compliments!
I want to report on a bug I encountered when I use the multiselect. Perhaps I am doing something wrong or missed out on a previous post, but here's the deal:
I have enabled multiselect and it works fine, unless the following actions are executed:
1. Open a multiselect grid without any selection set.
2. Ctrl-click right away on any item, before selecting a row without holding the ctrl-button.
I try to fetch my data as always like this:
function onSelectionChanged(src) {
var row = src.getSelectionProperty("index");
var id = this.getDataProperty("text", row, 0);
// Do something
}
However, src.getSelectionProperty("index"); does not work because 'myData[...] is null or not an object', according to IE.
When I first select an item without holding the ctrl-button, deselect it and then repeat the steps described above, the selection does function as expected.
Why does it not in the first place?
Regards,
Yereth
ps. You've done really a great job with creating the grid. My compliments!
Yereth
May 23,