vaadin / vaadin/framework

Grid ability to add/remove rows without invoking refreshAll()

Open
#10,636 3 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

From forum ( https://vaadin.com/forum/#!/thread/16971751 ):
I have a large Grid > 100 rows and > 40 columns
Invoking refreshAll() take a large data transfer and freeze browser for some moments.
Is there any solutions to add/remove row in Grid without refreshAll() ?

I can use refreshItem() for row update, but there is performance problem appear when i need to add/remove.
Plaese add a ability to add/remove single row without full grid update with refreshAll().

I use Vaadin 8.3.1, Chrome 64.0.3282.167 64bit , Jetty embedded 9.4.8.v20171121 with Vaadin servlet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the Grid refreshAll() and refreshItem() APIs referenced in the issue, then trace how row additions and removals are currently handled. Done means providing a supported way to add or remove a single row without invoking refreshAll(), while preserving the reported performance goal.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.