Thanks for reply. I already gave this one a try. It does not seem to be
called at all. I searched through inmethod grid sources and it seems that it
really isn't called at all. My search shown only one occurence of
addHeaderToolbar method which is its declaration in AbstractDataGrid class. 

This is my code:
DataGrid grid = new DataGrid("usersGrid", usersDS, columns) {

            @Override
            public void onItemSelectionChanged(IModel item, boolean
newValue) {
                super.onItemSelectionChanged(item, newValue);
                selectedUser = (User) item.getObject();
            }

            @Override
            protected void onRowPopulated(WebMarkupContainer rowComponent) {
                super.onRowPopulated(rowComponent);
                rowComponent.add(new AjaxEventBehavior("ondblclick") {

                    @Override
                    protected void onEvent(AjaxRequestTarget target) {
                        showModalUserEditor(ComponentViewMode.EDIT);
                    }
                });
            }

            @Override
            public void addHeaderToolbar(AbstractHeaderToolbar toolbar) {
                logger.info("addHeaderToolbar");
            //super.addHeaderToolbar(toolbar);
            }

            @Override
            public void addTopToolbar(AbstractToolbar toolbar) {
                logger.info("addTopToolbard");
            //super.addTopToolbar(toolbar);
            }
        };

Marcin
-- 
View this message in context: 
http://www.nabble.com/Inmethod-DataGrid-without-column-headers--tp23782672p23784978.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to