TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
will be updated..
will be updated..
will be updated..
NewFeatures :
setColumnWidth(int columnPosition, int width)
It also works with setHasFixedWidth(true)
that means, if you set a constant width value for some columns, others column width values will be calculated as before by TableView.NewFeature:
PreferencesHandler
) to retain and restore TableView preferences like the scroll positions and the selected positions.setRowHeaderWidth(row, width)
setEnableAnimation(boolean mEnableAnimation)
: To enable/disable Sort animation (DiffUtils). (enabled by default)boolean isEnableAnimation()
: To check the current state.ColumnSortStateChangedListener
implementation to dispatch changes in column sort state to Pagination and update the page contents and the order of the dataset.BugFix :
NewFeature:
RowHeader SortCallback
, SortComparator
, SortHelper
AbstrctorSortComparator
, to be able to reuse code in RowHeader
and Colum SortComparator
TableViewAdapter
using the corner view.TableViewListener
clearSelection()
: To clear selections programmatically.setShadowEnabled(false)
: Provides an option to disable shadow selection.NewFeature:
showColumn(int column)
: To show the columnhideColumn(int column)
: To Hide the columnshowAllHiddenColumns()
: To show all hidden columnsclearHiddenColumnList()
: TableView store a map that contains all hidden columns. This method for the time that is necessary to clear the list.isColumnVisible(int column)
: To check state of columnList<C> getCellColumnItems(int column)
: To get All Cell items that is located on the column position.removeColumn(int colum)
: To remove all items that is located on the column positionaddColumn(int column, CH columnHeaderItemModel, List<C> cellItems)
: To add new column to the positionRelease notes were accidentally deleted.
NewFeatures :
sortColumn(int p_nColumnPosition, SortState p_eSortState)
SortState getSortingStatus(int column)
remeasureColumnWidth(int column)
). Sample app shows also its usage as well.AbstractViewHolder
has a new selection state. SelectionHandler will be work considering the state as well.showRow(int row)
hideRow(int row)
showAllHiddenRows()
clearHiddenRowList()
isRowVisible(int row)
TableViewListener
has two new methods. These are Row Header long press action and Column Header long press action. The sample application has a codes to display usage of them using popup menu.AbstractTableAdapter
has some new helper methods to change models easily. These are ;
addRow(int p_nYPosition, RH p_jRowHeaderItem, List<C> p_jCellItems)
addRowRange(int p_nYPositionStart, int p_nItemCount, List<RH> p_jRowHeaderItem, List<List<C>> p_jCellItems)
removeRow(int p_nYPosition)
removeRowRange(int p_nYPositionStart, int p_nItemCount)
changeRowHeaderItem(int p_nYPosition, RH p_jRowHeaderModel)
changeRowHeaderItemRange(int p_nYPositionStart, int p_nItemCount, List<RH>p_jRowHeaderModelList)
changeCellItem(int p_nXPosition, int p_nYPosition, C p_jCellModel)
changeColumnHeader(int p_nXPosition, CH p_jColumnHeaderModel)
changeColumnHeaderRange(int p_nXPositionStart, int p_nItemCount, List<CH>p_jColumnHeaderModelList)
NewFeatures :