DataGrid - showing 'null'

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chankama

    DataGrid - showing 'null'

    Hi. Is there a way to make a datagrid display the word "Null" (or something
    similar to that effect - as long as its not just a blank) in the
    corresponding cell whenever the data value of particular (row, column) is
    set to null?.. There is no guarantee that the "type" of the column is a
    string. Is there a setting in DataGrid where I can make this happen?..
    Thanks.

    Chankama


  • Juan Gabriel Del Cid

    #2
    Re: DataGrid - showing 'null'

    Add a DataGridTableSt yle to your grid. Then in the DataGridColumnS tyle for
    the column in question, set its NilLText property to whatever you want.

    -JG


    Comment

    • Juan Gabriel Del Cid

      #3
      Re: DataGrid - showing 'null'

      [Correction]: ... set it's NullText property to...
      ^^^^^^^^


      Comment

      Working...