CellValidation error tooltip

Posted by: meera.wisniewski on 24 January 2021, 12:12 pm EST

  • Posted 24 January 2021, 12:12 pm EST

    I am using gridValidation to show the errors in the cell and the tooltip show the error with the danger icon. i need to show the warning icon when the row has a property set as hasWarning. Currently i am changing the cell background in the itemformatter if the row has the warning and the background is set to orange. but the tooltip still shows the danger icon. How do i change the css class to use the correct style depending on error and warning. Here is the screen shot of the tooltip i need to work.

  • Posted 24 January 2021, 12:25 pm EST

    I am not able to attach the screenshot. but here is the css class that adds the icon before the tooltip.

    .wj-tooltip.wj-error-tip:before {

    color: #dc0a0a;

    position: relative;

    font-family: “bento-icons”;

    font-style: normal;

    font-weight: 400;

    -webkit-font-smoothing: antialiased;

    speak: none;

    line-height: 0;

    top: 2px;

    font-size: 17px;

    height: 14px;

    width: 1.3em;

    content: “”; // i need to change this value with “\e6fc”. when the cell has warning.

    border: none;

    display: inline-block;

    }

  • Posted 25 January 2021, 4:53 am EST

    Any help?

  • Posted 26 January 2021, 5:15 pm EST

    Hi,

    Sorry for the delay. This seems like a duplicate of the following case:

    https://www.grapecity.com/forums/wijmo/cellvalidation-tooltip-for

    Please refer to the above case and let us know if you had a different requirement.

    Regards

    Sharad

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels