Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
960
dropdownlist default value in addrow
posted

I have a grid which allows adding new rows via a dropdownlist column.

this column's valuelist is a lookup of objects from db with autonumber ids, so id and text value is shown.

the column in db does not allow nulls.

in the addrow, when trying to add a new row in the grid, when clicking on the dropdown, it defaults to 0.

I'm guessing this is because it is bound to a non nullable datatype and it defaults to 0 since the valuelist values start at 1.

Is there any way to change that?  hide it?

Parents Reply Children
No Data