Kinetic Dashboard - Can you make it obvious when data is loading in a grid?

Hello,

I have a Kinetic dashboard with two grids.

The second one is considerably slower to load than the first one.

It is not obvious if the grids are still loading since the grids do not expand first time until the BAQs complete.

Even after the grids load, if you change one of the date ranges, the refresh of the grids isn’t obvious unless you look for the clock icon.

I do see the light grey clock symbol at the top but it is NOT very visible unless you are looking for it.

Is there a way to either change it’s color to red or have something else show during grid load to make it clear that it is not locked up and will load in a few seconds?

I am gov cloud version 2025.2.10

Any help is appreciated!

1 Like

Instead of populating the grid with a provider model, or “view”, instead you will need to provide your own event with a kinetic-baq widget to pull the data.

Then, you can set up the event to do something visual before firing the kinetic-baq event, then do something else visual onSuccess. Also, if you provide your own event, you can also set it to not block user input so that it doesn’t freeze up the UI while loading.

The something visual could go a multitude of ways. I’m a fan of displaying your typical little middle-of-the-screen whirlygig. I don’t think you can make the grid red without any data in it (I suppose you could row-add a few blank rows and set up a row rule to make it red)

4 Likes

Hello,

I actually already do pull this dashboard’s data in a separate event using Kinetic-BAQ.

I am not familiar with adding anything visual yet.

Can you walk me through it?

I assume it’s not too involved.

I appreciate your quick response!

Sure, you can do a property-set on something, or a row-update

Most components have some visual element that you can property-set, like a label. You can property-set the label to “Loading…” then back to normal after, for example.

You can also use a row-update to set a value in a dataview to something. Then, you can have a data rule set up to color something based on the status of that dataview value.

1 Like

Or you could jump right off the rail road tracks . . .

2 Likes

I have no idea how to set the property on a lebel.

Would I target the name of the label I see in the Application as the Property-set Component Id?

image

What do you put in the property-set ‘Prop’ and ‘Value’?

I have no idea on how you would even find a list of properties you can set.

1 Like

I forget if it’s called id or name in app studio, but yes.
property - this you can find by using f12 dev tools, in your app press ctrl-alt-8 then ctrl-alt-L
then press f12 and go to console tab - it’s probably something like “label”.
In console after pressing those hot keys while your mouse cursor focus is in the app, you get a component browser that you can explore the properties of the various components, look for your label, you will see the id/name here too.
Note: you can double click a property’s value to change it, you will get an edit box, then use your keyboard arrow keys to highlight/delete/change the text inside and tab out or click out to save it. You sometimes have to click into the app again to make the visual update but it’s usually instant. So that you can manually change the label to make sure you have the right id/name/property.

Note: if a property is nested (you need to use the arrow > to expand it in ctrl-alt-L), you address it in property by entering it as FirstPart.SecondPart.ThirdPart

If a property is contained within a collection, such as columns, you can address it by 0-based index or name (name was added more recently, 2025.2 maybe)

gridModel.columns[4].label = “new label” <---- sets the label name on the 5th column

gridModel.columns[“columnID”].label = “new label” <---- same thing using the column id

I am getting closer.

Here is what I see.

Where would I find the list of properties I can change for this Label?

I assume I can reference this label by id: ep-label-4a382, correct?

Thanks for getting me closer, I hope I haven’t been too much trouble.

Hello,

I finally puzzled out that either some of the properties are showing in the picture in the last post or that is all you can change. Not sure which.

But I was able to hide and unhide the label using the Id shown and the property of hidden = false, then hidden = true in the property-set events.

My next issue is that the label box itself is to short to contain the text easily.

Is there a way to increase the length of the label?

image