SFDatagrid combo box no longer working after update
I updated the datagrid from V23 to V26, now none of my combo box columns are working.
When tapping on them, the dropdown shows only a thin grey line going down, like it is empty.
What changed?
I add a column like this which worked previously:
string[] Data = { "M", "C", "S", "" };
Columns.Add(new DataGridComboBoxColumn() { MappingName = "MapCol1", ItemsSource = Data, IsEditableMode = true,
HeaderText = "Col1",
HeaderTextAlignment = TextAlignment.Center,
CellStyle = new Style(typeof(DataGridCell))
{
Setters =
{
new Setter
{
Property = DataGridCell.BackgroundProperty,
Value = new SolidColorBrush(Colors.White)
}
}
}
});
Hi Phunction,
We have checked your
query with version 26.1.35 of the DataGrid, and it worked fine on our end. We
were able to see the defined dropdown values in the ComboBox column. We have
shared the screenshot and the tested sample for your reference.
If you are still encountering the same problem, we kindly request you to modify the attached sample to reproduce the issue and provide additional details. This will greatly assist us in investigating the issue further and providing an appropriate solution as quickly as possible.
Regards,
Sethupathy D.
Attachment: SfDataGridSample_95b15476.zip
If I run my app on windows, the drop downs will show the data.
When I run it on iOS, the drop down is just the thin line.
What would the difference be? Is there a way to control the dropdown width?
Hi Phunction,
We have checked your
query with the same sample using version 26.1.35 of the DataGrid in iOS, and it
worked fine on our end. We were able to see the defined dropdown values in the
ComboBox column. We have shared a screenshot for your reference.
If you are still encountering the same problem, we kindly request you to modify the attached sample to reproduce the issue and provide additional details. This will greatly assist us in investigating the issue further and providing an appropriate solution as quickly as possible.
Regards,
Sethupathy D.
Attachment: SfDataGridSample_(2)_ad54266.zip
- 3 Replies
- 2 Participants
-
PH Phunction
- Feb 14, 2025 04:42 PM UTC
- Feb 18, 2025 01:05 PM UTC