Hi,
1 - How can i detect that one dataTable defined on my .xhtml page was resized, and get his new width?
The table that can be resized through browser resize or if i expand a node with a big description child, it also enlarges. I have to detect this resize event and use this new table width to change the width of another table defined on my backbean.
2 - What is the best way to hide or show a dataTable row or just change a cell value?
The dataTable is defined at my backbean.
I'm trying to do something like this:
ListDataModel dataModel = (ListDataModel) myTable.getValue(); int rowCount = dataModel.getRowCount(); for (int i = 0; i < rowCount; i++) { myTable.setRowIndex(i); dataModel.getRowData(); }