Question T9335
Visible to All Users

How to replace remove icon in matrix dynamic with a button?

created 3 years ago (modified 3 years ago)

[Ticket cloned from T9330: Revert certain question styling]

Hi Andrew, one more quick question: I can see that the "trash" icon is replaced by a "Remove" button depending on the screen size. Could you tell me if it is possible just to have the button "Remove" at all times instead?

Also, do you know why sd_question_answered_title in my version would not highlight the question number, but just the text?
I've followed your example by doing:

JavaScript
SurveyReact.StylesManager.applyTheme('defaultV2'); SurveyReact.defaultV2Css.question.titleOnAnswer = 'sd_question_answered_title';
CSS
.sd_question_answered_title { background-color: lightblue; padding: 5px; }

Clipboard-File-1.png

Comments (2)

    Hello,
    I have introduced a new functionality in v1.9.28. Here is the related issue on GitHub.
    You will need to call the following code:
    Survey.settings.matrixRenderRemoveAsIcon = false;.

    Thank you,
    Andrew
    SurveyJS Team

    JS JS
    John Stevenson 3 years ago

      Thank you for the quick turnaround!