can't show properties in custom propertygridwidgt when selected element #5801
-
when I selected an element, why the propertygridwidgt can't show the element's properties? 1. some code in FrontstageIntroductionApp.tsx:
2. PropertyGridWidgetProvider code:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Looks fine to me. Can you reproduce the problem in a sanbox? BTW, please also post versions of your |
Beta Was this translation helpful? Give feedback.
-
thanks gripasp's reply. @iTwin version is 4.0.6。 the package.json is as follows, thanks:
|
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Thank you. Following your guidance, I have resolved this issue. Everything is working fine now. |
Beta Was this translation helpful? Give feedback.
Thanks, this is very helpful. Every frontstage definition under
/src/frontstages
specifies aContentGroupProvider
and every provider uses theIModelViewportControl
component as the content control. This component is not hooked into unified selection system.What you need to do is basically copy this component and use it instead of
IModelViewportControl
in your content group providers.