Icons instead of Text for Custom Query Operations

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Icons instead of Text for Custom Query Operations

Post by Jhstephenson »

I have a custom query that has several operations on it.

The code for each operation looks something like this:

Code: Select all

<span class="aw-card-action" oper-operand="EditPassReport_FromParticipant" oper-output="Default" oper-type="0"><span class="k-button k-primary k-flat">View</span></span>
What it displays is a clickable 'button' with the word "View" on it.

What do I need to change to use an Icon instead of the text?

There is no option, like with a normal operation, where you can toggle between Text/Icon + Text/Text Only, as there is on a normal query.
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

Re: Icons instead of Text for Custom Query Operations

Post by PointsWell »

joben
Posts: 221
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: Icons instead of Text for Custom Query Operations

Post by joben »

Code: Select all

<span class="aw-card-action" oper-operand="EditPassReport_FromParticipant" oper-output="Default" oper-type="0"><span class="k-button k-primary k-flat"><i class="fas fa-list-alt"></i></span></span>
Does this work for you?
Regards, Joakim

Image
Jhstephenson
Posts: 297
Joined: Wed Apr 22, 2015 11:44 pm

Re: Icons instead of Text for Custom Query Operations

Post by Jhstephenson »

That works perfect Joakim. Thank you.

The only thing I need to do now is figure out how to show a description of the button on MouseOver.
joben
Posts: 221
Joined: Wed Nov 06, 2019 9:49 pm
Location: Sweden
Contact:

Re: Icons instead of Text for Custom Query Operations

Post by joben »

Code: Select all

<span title="Hello there" class="aw-card-action" oper-operand="EditPassReport_FromParticipant" oper-output="Default" oper-type="0"><span class="k-button k-primary k-flat"><i class="fas fa-list-alt"></i></span></span>
Regards, Joakim

Image
Post Reply