using listview from multiselect as edit templat in datagrid
My component can not click again after I close edit dialog.
I create Edit Template in SfGrid but after edit and save value, when i try to add new value I can not click choice from my listview again
My code was like this
@first page
<Sfgrid>
inside here is Edit Dialog Template
</Sfgrid>
@Edit Dialog Template
I have SfMultiSelect which will show some choice listview
<SfMultiSelect @ref="MultiSelectRef" Mode="@VisualMode.Box" TItem="Multiselect" TValue="string[]" DataSource="@MultiselectData">
<MultiSelectEvents OnValueSelect="OnProductSelect" TValue="string[]" TItem="Multiselect"></MultiSelectEvents>
<MultiSelectFieldSettings Text="Name" Value="Id"></MultiSelectFieldSettings>
<MultiSelectEvents TItem="Multiselect" TValue="string[]" OnValueRemove="OnRemove" OnValueSelect="OnSelect" ValueChange="OnChange"></MultiSelectEvents>
</SfMultiSelect>
@foreach (var select in MultiselectData
)
{
<SfListView @ref="@ListView[select.Id]" TValue="ListValue" DataSource="@(ListViewData[select.Id])" ShowCheckBox="true">
<ListViewFieldSettings TValue="ListValue" Id="Id" Text="Name"></ListViewFieldSettings>
<ListViewEvents TValue="ListValue" ></ListViewEvents>
</SfListView>
}
@code I set some list of value as choices but i can use only once after save to datagrid I can not select data in listview again. but other values, which are not yet select will still possible to select.
SIGN IN To post a reply.
3 Replies
RN
Rahul Narayanasamy
Syncfusion Team
November 24, 2021 03:38 AM UTC
Hi Jira,
Greetings from Syncfusion.
We have validated your query and we need some details regarding the reported problem. Could you please share the below details. It will be helpful to validate and provide a better solution.
- Full Grid code snippets.
- Video demonstration of the problem.
- Whether did you render MultiSelect component and ListView component in Edit Dialog?
- Did you update the LisstView data based on the changed data in Multiselect component?
- Share a simple reproduceable sample if possible.
Regards,
Rahul
JI
Jira
November 24, 2021 10:47 AM UTC
I have found my mistake, it works now
Thanks for fast reply!
RN
Rahul Narayanasamy
Syncfusion Team
November 25, 2021 04:42 AM UTC
Hi Jira,
Thanks for the update.
We are happy to hear that you have resolved your problem by yourself. Please get back to us if you need further assistance.
Regards,
Rahul
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
JI Jira
- Nov 22, 2021 10:23 AM UTC
- Nov 25, 2021 04:42 AM UTC