Skip to content

[Bug]: Table download event handler does not disable default CSV download #2118

@nangelov-eti

Description

@nangelov-eti

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When a download event handler is configured for a table, the default CSV download is still triggered. This results in the CSV file being downloaded even though a custom download handler is provided, making it impossible to fully override or suppress the default behavior.

Expected Behavior

When a custom download event handler is defined, the default CSV download should be disabled or prevented. The event handler should have full control over the download behavior, allowing developers to implement custom logic without triggering the built-in CSV export.

Steps to reproduce

Steps to Reproduce:

  • Drag a table component onto the canvas.
  • Attach a custom download event handler to the table.
  • Trigger the table’s download action.
  • Observe that the default CSV download still occurs in addition to the custom handler logic.

Environment

Environment: https://app.lowcoder.cloud
Version: 2.7.6

Additional Information

It causes unintended data downloads when developers expect the default behavior to be overridden by the event handler.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions