FoxInCloud
Checkbox in Grid
Gravatar is a globally recognized avatar based on your email address. Checkbox in Grid
  Vincent H.
  All
  Jul 9, 2020 @ 03:16am

Hi Thierry,

What is the best way to replace the current image of a checkbox in a grid with a fontawesome image ?

Thanks in advance

Gravatar is a globally recognized avatar based on your email address. re: Checkbox in Grid
  FoxInCloud Support - Thierry N.
  Vincent H.
  Jul 9, 2020 @ 07:02am

Adding FA HTML to the grid markup would be very complex… you better replace the standard AW image by a custom image:

xxx.css

.aw-column-6.aw-value-true .aw-item-marker[id] {
  background: url("images/dispute.png") no-repeat scroll center center transparent;
  height:24px;
  width:24px;
}
.aw-column-6.aw-value-true.aw-disabled-control .aw-item-marker[id] {
  background-image: url("images/dispute_disabled.png");
}
.aw-column-6.aw-value-true.aw-mouseover-toggle:not(.aw-disabled-control) .aw-item-marker[id] {
  background: url("images/dispute_bright.png") no-repeat scroll center center transparent;
  height:24px;
  width:24px;
}

dispute.png

dispute_disabled.png

dispute_bright.png

Gravatar is a globally recognized avatar based on your email address. re: Checkbox in Grid
  Vincent H.
  FoxInCloud Support - Thierry N.
  Jul 9, 2020 @ 08:46am

Adding FA HTML to the grid markup would be very complex…

I tried and understood that it was not just a small piece of HTML ...

Thanks !

© 1996-2024