Skip to content
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

Datagrid: Conditional based isEditable is not working for the cell #1788

Open
manjaripalavancha opened this issue Sep 3, 2024 · 1 comment
Labels

Comments

@manjaripalavancha
Copy link

Describe the bug
I'm using soho datagrid with cell isEditable. Conditionally I'm disabling/enabling the cell.

Functionally it is working fine, but when I see the UI it looks like disable even it is enabled.

Steps to reproduce the behavior:

  1. Add new row
  2. Observe initially Fiscal Id column(Dropdown) is disabled and I can't select any value
  3. Select any country in the country column from lookup
  4. Click on Fiscal Id column to select a value from dropdown
  5. We can able to select the value
  6. Observe the UI, fiscal id column still disabled (If it is enabled I can see the dropdown is editable when hover also)
  7. Observe console error also

Expected behavior
UpdateRow() function should call the isEditable for the cells in the row, to make cells enable/disable based on conditions.

Screenshots
image
image
image

Version

  • ids-enterprise-ng: 18.2.1

Additional context
Please go through the below recording and stackblitz example for your reference.
[Stackblitz: 18.2.1 (Datagrig cell isEditable)](url)

Note: The below example is created only for dropdown, but the same issue if there for all types of formatters (Ex: dropdown, Lookup, datepicker etc)

Please refer the below Communication link for the issue
https://teams.microsoft.com/l/message/19:[email protected]/1724827392459?tenantId=457d5685-0467-4d05-b23b-8f817adda47c&groupId=4f50ef7d-e88d-4ccb-98ca-65f26e57fe35&parentMessageId=1724827392459&teamName=Infor%20Design%20System&channelName=Angular%20Components&createdTime=1724827392459

@tmcconechy tmcconechy changed the title Soho datagrid -> Conditional based isEditable is not working for the cell Datagrid: Conditional based isEditable is not working for the cell Sep 3, 2024
@tmcconechy tmcconechy added type: bug 🐛 [3] Velocity rating (Fibonacci) priority: high labels Sep 3, 2024
@AAlviar AAlviar added the jira label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: More important
Development

No branches or pull requests

4 participants
@tmcconechy @manjaripalavancha @AAlviar and others