Code Monkey home page Code Monkey logo

Comments (3)

iadnonov avatar iadnonov commented on June 12, 2024 1

Hey monamoghaddas,

If you want to use KendoReact PanelBar in Controlled Mode, you have to specify it with setting isControlled property to true.

I added this setup in the provided example:
https://stackblitz.com/edit/react-anekve-jk53wn?file=app%2Fmain.tsx

Greetings,
Ivaylo

from kendo-react.

iadnonov avatar iadnonov commented on June 12, 2024

As of version 4.14.0 the expanded, selected and focused props take the item id as a value instead of the item title.

<PanelBar expanded={['5', '7']} selected={'8'} focused={'11'} children={components} />

This behavior can be observed in the following example:
https://stackblitz.com/edit/react-anekve-jkxl4v?file=app%2Fmain.tsx

The description for the usage of the properties is described in detail in our next develop version 7.4.0-develop.10. and will be affected at the public website as soon as possible.

from kendo-react.

monamoghaddas avatar monamoghaddas commented on June 12, 2024

@iadnonov Thanks for your example for workaround
I made some adjustments to expand functionality on the fly. Initially, when I set the value, the expansion works, but subsequent changes don't seem to take effect. Do you have any suggestions for a workaround in this situation?
you can try this behaviour
https://stackblitz.com/edit/react-anekve-69ly23?file=app%2Fmain.tsx

from kendo-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.