Jump to content

dbgrid action column


jahlxx

Recommended Posts

You can use UniNativeImageList:

 

UniNativeImageList:

 

1. AddIconCls, select FontFamily (Pictos or FontAwesome)

Pictos - https://docs.sencha.com/extjs/6.5.3/guides/core_concepts/font_ext.html#core_concepts-_-font_ext_-_pictos_font_package

FontAwesome - https://fontawesome.com/v4.7.0/icons/

 

2. Enter manually IconName to IconClsCombo, for example: handshake-o (FontAwesome)

 

UniGridActionButtons:

for example for second action button - TUniGridActionButton-1 -> ImageIndex = index of the new added icon (UniNativeImageList)

Link to comment
Share on other sites

ok. thanks.

 

one more thing.

 

as I can see, I can add iconcls without having it in a imagelist.

 

for example, I add an action column, a button and set iconcls to box (for example)

 

when exec the app, the icon box appears in action column.

 

I have some questions about this:

 

1. I can have these icons, without downloading them. is this a good practice? or is a risk?

2. how can I do the same with fontawesome?

3. wich of both options are better?

 

thanks.

Link to comment
Share on other sites

  • 4 weeks later...

Hi.

 

Pictos and / or FontAwesome are only availables when are connected to internet?

 

I mean, if I have an application running in a server in a LAN, but don't want the server connected to internet, the icons will be shown? Or the server must have an internet connection available?

 

Thanks.

Link to comment
Share on other sites

Hi,

 

Pictos and / or FontAwesome are only availables when are connected to internet?

 

No

 

I mean, id I have an application running in a server in a LAN, but don't want the server connected to internet, the icons will be shown?

 

Yes

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...