-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text getting populated in empty rows in tree table #11872
Comments
Sorry but I don't understand the issue here. There are no "empty rows" in your data source. If you are referring to text being populated in the cells (not rows) - why are you putting |
There are 2 scenarios that are happening.
{{ 'PACKAGE.actions.TEXT' | translate }} ({{ totalActions }}){{ data.name }}
{{ 'PACKAGE.actions.TEXT' | translate }} ({{ totalActions }})
AFTER TRYING THESE APPROACHES I THINK THERE IS SOME ISSUE WITH FDP-TABLE-CELL. Please look into it. |
I think I see the problem you're describing in your first video (the text "Use this endpoint to delete a customer's..." being populated in the "Description" column of the "Action" row), and I am concerned with how that is happening but I don't see how the stackblitz you've provided is relevant. With this code:
You are taking every row in the description column and deliberately placing Screen.Recording.2024-05-28.at.5.56.01.PM.movI would like to get to the bottom of this, so if you could update your stackblitz to more accurately demonstrate the problem you're seeing in your application, that would be great |
Is this a bug, enhancement, or feature request?
Bug
Describe your proposal.
if I try to use fdp-table-cell in fdp column in fundamental platform ngx tree table the rows are which are empty are also getting populated with text when i click collapse button
Can you handle that on the application side
NO
Which versions of Angular and Fundamental Library for Angular are affected? Please, specify the exact version. (If this is a feature request, use current version.)
Angular version 17.2.1 and Fundamental Library 0.48.4
If this is a bug, please provide steps for reproducing it; the exact components you are using;
COMPONENT USED- Fundamentalngx/platfrom - Table.
Please provide relevant source code (if applicable).
<fdp-table
{{ data.name }} {{ data.name }}[dataSource]="source"
[isTreeTable]="true"
selectionMode="multiple"
[enableTristateMode]="true"
relationKey="children"
selectedKey="selected"
emptyTableMessage="No data found"
[dropPredicate]="dropPredicate"
(rowSelectionChange)="onRowSelectionChange($event)"
(rowToggleOpenState)="onRowToggleOpenState($event)"
(rowsRearrange)="onRowsRearrange($event)"
Please provide stackblitz example(s).
https://stackblitz.com/edit/szf3ep?file=src%2Fapp%2Fplatform-table-tree-example.component.html
https://szf3ep-2ags--4200--0314a412.local-credentialless.webcontainer.io/
In case this is Accessibility related topic, did you consult with an accessibility expert? If not, please do so and share their recommendations.
Not applicable
Did you check the documentation and the API?
Yes
Did you search for similar issues?
Yes
Is there anything else we should know?
NO
IMPORTANT: Please refrain from providing links or screenshots of SAP's internal information, as this project is open-source, and its contents are accessible to anyone.
The text was updated successfully, but these errors were encountered: