next2you
09-13-2006, 03:29 PM
Hi,
I like to get the data from a selected row to update it. From the grid (or the default selection model) I can get the HTML element (the selected row) or the rowId, but how do I get the index for the setValueAt(x,y, newValue) method of the DefaultDataModel?
I like to implement a change, when the user presses a key, e.g. for rating a row entry (1-5).
Very cool stuff (I'm using 0.31)
Thanks
Christian
I like to get the data from a selected row to update it. From the grid (or the default selection model) I can get the HTML element (the selected row) or the rowId, but how do I get the index for the setValueAt(x,y, newValue) method of the DefaultDataModel?
I like to implement a change, when the user presses a key, e.g. for rating a row entry (1-5).
Very cool stuff (I'm using 0.31)
Thanks
Christian