The CreatorCon Call for Content is officially open! Get started here.

How do I change the Title for a data table instance widget

tricial
Giga Contributor

How do I change the data table label in the data table instance widget

Anything I try is not working.

The Configuration Title is not working when I set the title on the widget instance

I tried cloning the widget and using an option schema for title but I still cannot get it to work.

Any help please?

Also there does not seem to be much help out there on customizing and using widgets

Any links and reference/tutorials/youtubes out there that will speed up this learning curve would be greatly appreciated.

Thank you

Tricia

8 REPLIES 8

Hi Harry,


No, I tried changing the code in the widget server script but was not able to change the Title.


If you find an answer please do share!


Thank you


Tricia


dennisvazquez
Kilo Contributor

I'm also facing this same challenge. I've cloned Data Table from Instance, changed the Title yet it's still displaying the Table Name of "Computers" when I have the title as "Your Hardware". Any help would be greatly appreciated!

Instance Options:

find_real_file.png

 

Service Portal view:

find_real_file.png

You can use the below code:

 

spUtil.get('widget-data-table', params).then(function(response) {
		//	response.data.table_label='Test';
			$scope.data.widgets = response;
			$scope.data.widgets.data.table_plural = 'Test';
			
		});

Community Alums
Not applicable

Hi there,

Can you please advise where to add this code?

Thanks!
Alex