Forum Discussion
Change column as title in tableEx Embeeded
- Anonymous3 years ago
Try put this line:
await lastCreatedVisual.setDataFieldDisplayName('Values', 0, 'TEST');
In "setDataFieldDisplayName",
first parameter is DataRole that you want change display name;
second parameter is position, if you have 3 "Values" for example, you need pass who you want to change;
and the third parameter, is what you want display.This line probably resolve your problem
Try put this line:
await lastCreatedVisual.setDataFieldDisplayName('Values', 0, 'TEST');
In "setDataFieldDisplayName",
first parameter is DataRole that you want change display name;
second parameter is position, if you have 3 "Values" for example, you need pass who you want to change;
and the third parameter, is what you want display.
This line probably resolve your problem