Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054584
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Infrastructure] wiki.openbravo.comminoralways2024-02-06 09:252024-02-21 11:10
Reportergonzalo_fernandezView Statuspublic 
Assigned Togonzalo_fernandez 
PrioritynormalResolutionfixed 
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnone 
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Review Assigned To
Summary

0054584: Support "Add row" button in grids

DescriptionSome flows require being able to add records to a grid. In order to support that, grids (FilterableGrid/Grid/DataGrid) will accept a new property named onNewRowProps. By default the property will be null, and when not null, a new button will be included in the grid.

The position of the button is fixed (bottom-right corner), and the button will be displayed on top of the grid content (a row). It should not hide anything from the footer, and neither does the scrollbar (add a margin in the last row if necessary).

When the button is clicked, the DataGrid will invoke the provided onNewRowProps function. Implementators will then do whatever they want to do in order to start the flow to add a new entry (i.e. open a form in a dialog to enter the data for the new row).

Another new property will be added to the grid: readonly. For now it will be used only to hide the button if the readonly prop is true.

The button has to be configurable so that it shows an icon, a text or both.

Have a look at the Jira ticket here: https://openbravo.atlassian.net/browse/RM-11351 [^]
Steps To Reproduce.
Proposed Solution.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0160276)
hgbot (developer)
2024-02-06 09:29

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1358 [^]
(0161015)
hgbot (developer)
2024-02-21 11:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 7501001c13c97780f2487070269e9f77a8f06cd4
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 21-02-2024 11:09:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/7501001c13c97780f2487070269e9f77a8f06cd4 [^]

Fixes ISSUE-54584: Merges project that adds support for Add Row button in grids

---
A web-jspack/org.openbravo.core2/src/components/BaseFloatingActionButton/BaseFloatingActionButton.jsx
A web-jspack/org.openbravo.core2/src/components/BaseFloatingActionButton/BaseFloatingActionButton.scss
A web-jspack/org.openbravo.core2/src/components/BaseFloatingActionButton/__test__/BaseFloatingActionButton.test.jsx
A web-jspack/org.openbravo.core2/src/components/BaseFloatingActionButton/index.js
A web-jspack/org.openbravo.core2/src/components/BaseFloatingActionButton/stories/BaseFloatingActionButton.stories.jsx
A web-jspack/org.openbravo.core2/src/components/BaseFloatingActionButton/stories/BaseFloatingActionButton.stories.scss
M web-jspack/org.openbravo.core2/src/components/FilterableGrid/FilterableGrid.jsx
M web-jspack/org.openbravo.core2/src/components/FilterableGrid/stories/FilterableGrid.stories.jsx
M web-jspack/org.openbravo.core2/src/components/FilterableGrid/stories/FilterableGrid.stories.scss
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DataGrid.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/DataGrid.scss
M web-jspack/org.openbravo.core2/src/components/Grid/DataGrid/__test__/DataGrid.test.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/Grid.jsx
M web-jspack/org.openbravo.core2/src/components/Grid/stories/GridSampleData.js
---
(0161016)
hgbot (developer)
2024-02-21 11:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1358 [^]

- Issue History
Date Modified Username Field Change
2024-02-06 09:25 gonzalo_fernandez New Issue
2024-02-06 09:25 gonzalo_fernandez Assigned To => gonzalo_fernandez
2024-02-06 09:29 hgbot Note Added: 0160276
2024-02-21 11:10 hgbot Resolution open => fixed
2024-02-21 11:10 hgbot Status new => closed
2024-02-21 11:10 hgbot Fixed in Version => 24Q2
2024-02-21 11:10 hgbot Note Added: 0161015
2024-02-21 11:10 hgbot Note Added: 0161016


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker