I am using a dropdown column in a datagrid, and I need a blank selection.
How can I add an empty dropdown option (Value = '-1', Text = '') to the dropdown list?
Hi @hon kenpaku ,
You can use a Data Action to fetch the options for your dropdown. Before assigning the aggregate list to your output list, use ListAppend to add a blank record. This will insert a blank option at the top of the dropdown for an empty selection.
I recommend not using an empty string ("") for the Text property, as the record may not display correctly.
Instead, consider using something like 'Blank' or another placeholder text.
I also attached a sample OML, the blank record is in the Department column.