table reinit scrollbars problem [message #1019198] |
Fri, 15 March 2013 04:20  |
Eclipse User |
|
|
|
Hello,
I've got a problem with my nattable implementation.
public class YearlyFactorTable extends NatTable {
public YearlyFactorTable(Composite parent) {
super(parent, false);
init();
}
private void init() {
setConfigRegistry(configRegistry);
dataGrid = new FactorDataGridLayer(configRegistry, structureElement,
globalFactorsMode, editMode, AdminMessages.YEAR_FAC_TAB_NAME);
setLayer(dataGrid);
addCustomSelectionBehaviour();
// configure table
configure();
}
}
The code you see is a snippet from a class extending the super class NatTable. This init method will be called within the constructor of the extending class and will be called again if the table input changes.
Now the problem starts after reinit of the table. Sometimes after reinit the scrollsbars of the table do not work anymore. They are still visible, but scrolling does not influence the table anymore. Tried to refresh the parent composite but nothing seems to help. If I dispose the table and build it up again it works, but I don't want to dispose the table everytime the input changes. Any ideas?
Greetings,
Sascha
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.72212 seconds