Posted Thursday, March 24, 2005 @ 10:10:57
Hi,
when i call a quicktable, i made
createColumnModelFromQuery();
getColum(j).setHeaderValue(..);
when refresh a quicktable, i put
myQuickTable.setselectSQL(myQuery);
myQuickTable.refresh();
and the quicktable is always put the header by default (name of the row),
i had to make again the
createColumnModelFromQuery();
getColum(j).setHeaderValue(..);
How can i resolve this problem ?
I had seen in DBTableModel and the function refresh(Object input, Properties prop),
i had to take away this line :
if(dbColumnModel.defaultColumnsDisplayed == true || gridType == RESULTSET_GRID)
createColumnModelFromQuery(tableResultSet);
but it's not very beautifull !
what can i do ?
Thank for your help and have a nice day
--------------------
Olivier