Code Monkey home page Code Monkey logo

Comments (6)

simonfvr avatar simonfvr commented on July 22, 2024 1

Sure, thanks!

from appsmith.

simonfvr avatar simonfvr commented on July 22, 2024
current_row_not_working_when_filtering.mov

from appsmith.

Naveen-Goud avatar Naveen-Goud commented on July 22, 2024

Hii @simonfvr ,
Can I work on this ticket?

from appsmith.

simonfvr avatar simonfvr commented on July 22, 2024

Yesterday I experienced an issue that probably is also related with this one:

  • There's a table with data coming from a SQL query.
  • This table is filtered and one row is selected.
  • The data in this table is reloaded after performing a write SQL query (insert, update, delete).
  • After this, the selected row changes, pointing to the index in the raw data, not in the filtered data.

I'll leave a video showing it.

Take into account that this doesn't happen when the read query is re-executed, only happens when a write query is executed (and this write query doesn't have to be related with the table).

from appsmith.

simonfvr avatar simonfvr commented on July 22, 2024
selected_row_filter.mov

Video explanation

  1. In the column "Invoice Number" appears the currentIndex for each row.
  2. The row with currentIndex = 1 is selected, and it's still selected after reloading the data.
  3. The data is filtered, and now the currentIndex = 1 is the first in the filtered data, let's say currentFilteredIndex = 0.
  4. After reloading the data, everything is correct.
  5. After performing a write query (delete data in a different table) the data is reloaded using exactly the same method as in step 4.
  6. Now, currentFilteredIndex = currentIndex = 1, selecting the wrong row.

from appsmith.

SwilsonGC avatar SwilsonGC commented on July 22, 2024

I've also had this issue, where a max value validation for a field within a table is dependent on another value in the same row, using Max value = currentRow.columnName, where columnName contains an integer. Filtering removes all validation, allowing any number to be input

from appsmith.

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.