Hello Support,
We are working on comboeditor with checkboxes, we are displaying the comboeditor with a xamdatagrid. We are able to bind the comboeditor but we do not know how to dispaly the checkboxes with the combo editor.
In the design mode we have written following code :
<igEditors:ComboBoxItemsProvider x:Key="ComboItemsProvider">
<igEditors:ComboBoxItemsProvider.Items>
<CheckBox Content="Abcd"/>
<CheckBox Content="Efgh"/>
<CheckBox Content="Ijklm"/>
</igEditors:ComboBoxItemsProvider.Items>
</igEditors:ComboBoxItemsProvider>
Hello rhealsoftTakeoff,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
Hello,
The links that you provided show examples of a xamComboEditor by itself and a xamDataGrid inside a xamComboEditor.
We were able to achieve the above by using the following code in the click event of the checkbox inside the xamComboEditor.
cbobxDates.Text = ""
tempDateItems = ""
For Each f As ComboCheckboxValues In dateItems
If (f.IsChecked) Then
cbobxDates.Text += f.Name + ","
tempDateItems += f.Value + ","
End If
Next
cbobxDates.ItemsSource = Nothing
cbobxDates.ItemsSource = dateItems
'cbobxDates is the xamComboEditor
'dateItems contains items of the xamComboEditor
However now we require a xamComboEditor placed in column of a xamDataGrid that allows multiple selection, and hence are facing a problem. We basically need to access the Text property of the xamComboEditor at run time.
Thank You.
I have been looking into your latest request and I can suggest you use the Utilities class to get an instance of the specified cell’s XamComboEditor or you can try the EditModeStarted/Starting and use the event args’s Editor property. Please let me know if this helps you or I have misunderstood you in any way.
Looking forward for your reply.
Hello Stefan,
We managed to achieve the functionality required with your help.
Thank you.
I am glad I helped you resolve your issue. Would you please verify this thread as answer so other users in the community may benefit from it as well.
Thanks in advance.