0
uyarbtrlp created
Hello ABP,
I've been trying to set the text of one of the action button programmatically. I've tried the method that we have on action or visible properties.

But I've got meaningless information as you can see on image below.

How can I set the text according to some properties returned by the API?
Thanks. BR, Baturalp
- ABP Framework version: v5.3.3
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC)): yes
- Exception message and stack trace:
- Steps to reproduce the issue:"
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
4 Answer(s)
-
0
So, it is not possible to use like that. According to that, I have two questions:
- Do you have any plan to convert it to a callback method?
- Should I create separate buttons for that? What is your suggestion?
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
hi
- Yes, You can create a GitHub issue, I will do that in 7.0
- You can override the
datatables-extensions.jsfile and maketextas a callback.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)