// CHANGE COLUMN VISIBILITY
String columnToChange = (String) map.get(clientId + ":"
+ TableMenuRenderer.CHANGE_COL_VISIBILITY);
if (columnToChange != null) {
ChangeColumnVisibilityEvent event = new ChangeColumnVisibilityEvent(
component, columnToChange);
event.queue();
// AjaxContext.getCurrentInstance().addComponentToAjaxRender(component);
// AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
// ajaxContext.addComponentToAjaxRender(component);
// ajaxContext.addRenderedArea(clientId + ":tb");// body
// ajaxContext.addRenderedArea(clientId + ":tu");
// ajaxContext.addRenderedArea(clientId + ":tm");// menu
}// change column visibility
// COLUMN RESIZE
if (COL_RESIZE_ACTION_NAME.equals(map.get(COL_RESIZE_ACTION_NAME))) {
String colWidths = (String) map.get("columnWidths");
ColumnResizeEvent event = new ColumnResizeEvent(component,
colWidths);
event.queue();
}
// TOGGLE ROW GROUP
if (GROUP_TOGGLE_ACTION_NAME.equals(map
.get(GROUP_TOGGLE_ACTION_NAME))) {