vb.net - Devexpress (10.2) GridControl isn't letting null value in column -


i using vb.net within visual studio 2008. have gridcontrol 1 of columns fetches real number database. whenever try remove value red 'x' saying input string not right format though know can display null because row underneath fetched null value column. see picture below.

enter image description here

i tried solve setting columnedit of column textedit , setting it's allownullinput true. still same problem

handle parseeditvalue event of grid column.

imports devexpress.xtraeditors.repository  public class form1   public withevents edit repositoryitemtextedit    public sub form1()       edit = gridview1.columns("mycolumn").columnedit   end sub    private sub edit_parseeditvalue(sender object, e devexpress.xtraeditors.controls.converteditvalueeventargs) handles edit.parseeditvalue     if isnothing(e.value) or (not (e.value nothing) , string.isnullorempty(e.value.tostring))         e.value = dbnull.value     end if   end sub end class 

Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -