GithubHelp home page GithubHelp logo

Comments (4)

alanjshort avatar alanjshort commented on June 13, 2024

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.

samanta-widjaja avatar samanta-widjaja commented on June 13, 2024

this happen when i filter the table too.

from tableview.

alanjshort avatar alanjshort commented on June 13, 2024

from tableview.

alanjshort avatar alanjshort commented on June 13, 2024

from tableview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.