Skip to content

Edit Session - Allow add, delete rows#2196

Draft
anandBalachandar wants to merge 3 commits into
finos:mainfrom
anandBalachandar:feature/edit-session-allow-row-deletions
Draft

Edit Session - Allow add, delete rows#2196
anandBalachandar wants to merge 3 commits into
finos:mainfrom
anandBalachandar:feature/edit-session-allow-row-deletions

Conversation

@anandBalachandar

Copy link
Copy Markdown
Contributor

In addition to editing cells, enabling deletions within EditSession - NOT COMPLETE

@netlify

netlify Bot commented Jul 3, 2026

Copy link
Copy Markdown

Deploy Preview for papaya-valkyrie-395400 canceled.

Name Link
🔨 Latest commit 57baf1d
🔍 Latest deploy log https://app.netlify.com/projects/papaya-valkyrie-395400/deploys/6a4d939ce342880008f9a83e

#inEditMode = false;

constructor(dataSource: EditApi) {
#handleRowSelection = (count: number) => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't belong on here, its duplicating exactly what the datasSource already does.

}
}

get selectionCount() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to replicate dataSource selectionCount on the editSession ?

}
}

restoreRows(keys: string[]) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

Comment thread vuu-ui/packages/vuu-data-types/index.d.ts

useMemo(() => {
editSession?.on("editState", setEditState);
editSession?.on("selectionCount", setSelectionCount);

@heswell heswell Jul 3, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

editSession.dataSource.on(""row-selection", setSelectionCount)

};

deleteRow: DataSourceDeleteHandler = async (key) => {
deleteRow: DataSourceDeleteHandler = async (key, mode: DeleteRowMode = "hard") => {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this implementation needs to go in TickingArrayDataSource, where it should do an rpc request, see the implementation of editCell

@anandBalachandar anandBalachandar force-pushed the feature/edit-session-allow-row-deletions branch from ec16206 to fba1b52 Compare July 5, 2026 22:39
@anandBalachandar anandBalachandar force-pushed the feature/edit-session-allow-row-deletions branch from 754fdd8 to d9add1f Compare July 5, 2026 22:44
@anandBalachandar anandBalachandar changed the title Edit Session - Allow deletions Edit Session - Allow add, delete rows Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants