0
クリックするとシングルセル選択を無効にする方法は? Example
nattable:シングルセル選択を無効にする方法は?
私はそのようにしようとしている:事前に
class CustomDefaultSelectionBindings extends DefaultSelectionBindings {
@Override
protected void configureBodyMouseClickBindings(final UiBindingRegistry uiBindingRegistry) {
//do nothing
}
}
class CustomDefaultSelectionLayerConfiguration extends DefaultSelectionLayerConfiguration {
@Override
protected void addSelectionUIBindings() {
addConfiguration(new CustomDefaultSelectionBindings());
}
}
final SelectionLayer selectionLayer = new SelectionLayer(bodyDataLayer);
selectionLayer.addConfiguration(new CustomDefaultSelectionLayerConfiguration());
感謝を。
まずは、ありがとうございます。 'CompositeFreezeLayer'を使っていくつかの行をフリーズするので、選択レイヤーが必要です。 マウスドラッグモードを無効にする方法はありますか? – ADeveloper
実際にマウスをクリックしたのと同じ方法です。 –