Hi,
i was using an object of QuickTableFilterField earlier and using its table model in the following way.
int displayIndex = filterField.getDisplayTableModel().getActualRowAt(selectedRowIndices[i]);
this was working fine using the old version of Jide.
Now i am using the latest evaluation version of jide. now if i use the same code as above it is giving me a compile time error saying Add cast to the method reciever.
If i add a cast my code looks like this
int displayIndex = ((ISortableTableModel) filterField.getDisplayTableModel()).getActualRowAt(selectedRowIndices[i]);
it gives two other options to cast with and they are DefaultTableModelWrapper and Sortable Table where as i have used I SortableTable Model.
Now though the code compiles well, it is giving me a ClassCast Exception in run time when this Line of code is encountered.
Please suggest the correct class type to cast the line of code with
Thanks
Rajeswari