Skip to content

How to Change the expand and collapse icon of matrixdynamic component in surveyjs? #9697

Closed Answered by JaneSjs
kalpadiptyaroy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kalpadiptyaroy,
Please follow the Swap Two Built-In Icons documentation example and use icon-chevronright-16x16 and icon-chevrondown-24x24 as expand and collapse action icons.

import { settings } from "survey-core";

settings.customIcons["icon-expanddetails-16x16"] = "icon-chevronright-16x16";
settings.customIcons["icon-collapsedetails-16x16"] = "icon-chevrondown-24x24";

View Demo

I hope this example helps. Should you have any further questions, please let us know.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kalpadiptyaroy
Comment options

Answer selected by kalpadiptyaroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants