:: Forum >>

Getting the index of a selected item in table!!!!!!!!!!

when using the following code I keep getting a value of -1 for index, despite having a different item selected each time. Any reason why this is happening??????

var index = obj.getSelectionProperty("index");
document.write(index);
carbine
Tuesday, April 5, 2005
Yes it seems your try to get the index of the selection who are not selected yet ;)

Use this :
var index = src.getProperty("item/index");
SgtKabukinan
Thursday, April 7, 2005
sorry :

var index = this.getProperty("item/index");
SgtKabukinan
Thursday, April 7, 2005

This topic is archived.


Back to support forum

Forum search