Comments (4)
If a grid has a small number of rows, this bug is present. If the number of rows is larger, the bug disappears. Not sure exact number of records to make bug disappear (but it's more than the visible grid).
If you sort a grid on any column, following the sort, click on a cell, the onCellClicked event returns correct cell view, but the row returned is the unsorted row number. This means that if you highlight based upon the returned row using setSelectedRow(row), the wrong row is highlighted, though the correct cell data has been returned.
public void onCellClicked(@nonnull RecyclerView.ViewHolder cellView, int column, int row) {
try {
mTableView.getSelectionHandler().clearSelection();
String strData = "";
if(cellView instanceof CellViewHolder){
strData = (String) ((CellViewHolder)cellView).cell_textview.getText();
}
mTableView.setSelectedRow(row);
// processing of strData
} catch (Exception e) {
e.printStackTrace();
}
Tableview Version '0.8.9.4'
Android Version 9
from tableview.
this happen when i filter the table too.
from tableview.
from tableview.
from tableview.
Related Issues (20)
- java.lang.IndexOutOfBoundsException in setRowHeaderItems HOT 1
- Help HOT 1
- Set a default void implementation on Cell, HeaderCell, RowCell event listeners
- cellviewholder with edit Text is not working after scroll
- How to color the whole row when selecting a cell??
- Column header not match cell when to reload HOT 1
- Forcing sticky column header
- Wrong number of cells in a row crashes
- setColumnWidth function is buggy when implemented in dialog fragment
- I wonder how to exchange rows and columns
- Implement performClick in cellRecyclerView and etc
- Multiline text in cells HOT 1
- how to filter in rowheader / cornerview
- while building -Failed to resolve: com.evrencoskun.library:tableview:0.8.9.4 HOT 2
- Help needed for configurating in build.gradle.kts
- The column width follows the adapter that was first opened
- add(Cell) causing mis alignment align
- I have created the table and i have put an edit text and some text views when i try to click the edit text to write it goes to the first item in the table
- Add Datagrid Support for Kotlin Multiplatform
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tableview.