Hi
In my wingrid my columns are dropdowns which are bound to datasourse. These are not dropdownlists, so we can type new values if we want.
Display member is a string and the vaule member is an integer.
Now everything works fine, but when we insert a new row..the default value that comes and sits in the cell is 0(zero). But its misleading to the user as he may think that he has to type only intergers, so i want to replace that default value with blank.
And also i know that, we can format the columns to make it look blank, but zero reappears when the cell is selected(when cell goes to edit mode), even this is not acceptable for me and also those columns are not nullable in database.
So can anyone tell me how to replace the default value 0 with blank.
Thanks in advance
Navi
Not sure this will work for you but you might set the defaultcellvalue to null and then set the nulltext property to "(blank)" or some other descriptive string.
Nick
Thanks for your reply Nick, but it didnot work for me :(
Waiting for the solution..