Click Row Header -> Highlight that Row ... How?
I am trying to figure out how to highlight a row by simply clicking the row header of that row, however when i try i noticed that what should be standard isn't available by default so i have tried implementing this by using:
obj.setEvent("onmousedown", function(ss){obj.setProperty("selection/index", obj.getItemProperty('index'));});
But the problem is the "obj.getItemProperty('index') ... that definitely is wrong ... What i want to know is what rowheader index i have clicked so that i can tell teh .setProperty(..) function to highlight that row it is on. But be warned that the rows may be sorted (if that is important to know).
obj.setEvent("onmousedown", function(ss){obj.setProperty("selection/index", obj.getItemProperty('index'));});
But the problem is the "obj.getItemProperty('index') ... that definitely is wrong ... What i want to know is what rowheader index i have clicked so that i can tell teh .setProperty(..) function to highlight that row it is on. But be warned that the rows may be sorted (if that is important to know).
Ben
June 18,