3.2.0

Sorting bug (sorting of checkboxes)?

There seems to be a bug with how checkboxes are sorted at Sudhaker's example:

http://thej2ee.com/awdemo/examples/myexamples/checkbox_editable_cell_and_tricks.html

Why is this happening and is there a way to fix it?
Darby
January 14,
By the way, this did not fix the problem:

obj2.setDataProperty("value", function(i,j){var Value=this.getDataText(i,j);if (Value=="true")  return 1;if (Value=="false") return 0; return Value;});


The correct values are set for every checkboxes state, but it still would not sort correctly.
Darby
January 14,
After further investigation, it seems that the sorting function works ok, but only until the first call of obj2.refresh();

So maybe the problem is there.
Darby
January 14,

That's a good start :-) I can look into this. I'm not a strong DTML guy so don't hold on me. Keep trying your way too...

Few other people also reported the same but I was unable to understand and reproduce the problem.

---
Sudhaker Raj
Sudhaker Raj
January 14,

This topic is archived.

See also:


Back to support forum