Nattable row selection provider

453 views Asked by At

I am new to Nattable, my requirement is to highlight a selected object of nattable view to different view. Consider 'View1' as nattable data view, it has following code:

getViewSite().setSelectionProvider(
                    m_gridTable.getRowSelectionProvider() );

and 'View2' implements ISelectionListener, but 'selectionChanged' of View2 is not getting called when I select any object in 'View1'. Am I missing anything?

1

There are 1 answers

0
vaibhavn On BEST ANSWER

RowSelectionProvider was created using fullySelectedRowsOnly as true value so selection event was not fired unless user selects complete row, changing flag to false worked fine for me.