Data grid new column's default value

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

    Data grid new column's default value

    Hi!
    When I click on new row of DataGrid, it displays "(null)" which we can
    change.
    Is it possible to change this default text to something like "Make new
    entry.."?

    Thanks.

    Regards,


  • Tiki Wan

    #2
    RE: Data grid new column's default value

    I am not sure whether I can understand your question. However, I believe
    you can check out template column in Data Grid. You can specify almost
    everything.

    ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 APR.1033/vbcon/html/vbconDataGridCo lum
    ns.htm

    Hope this help.

    --
    Tiki, C# Team
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of included script samples are subject to the terms specified at
    Use these online forms to report copyright and trademark infringement to Microsoft Legal. Infringement notices must comply with the Digital Millennium Copyright Act.


    Comment

    • Alpha Zero

      #3
      Re: Data grid new column's default value

      Actually,
      While using DataGrid, selecting an empty row turns it into "(null)". You
      might have observed.
      Can I change default behaviour of showing "(null)" to something like "Enter
      new item.."?
      Is it clear now?
      Thanks.

      "Tiki Wan (MSFT)" <tikiwan@online .microsoft.com> wrote in message
      news:1SGsQ1kSDH A.2760@cpmsftng xa06.phx.gbl...[color=blue]
      > I am not sure whether I can understand your question. However, I believe
      > you can check out template column in Data Grid. You can specify almost
      > everything.
      >
      >[/color]
      ms-help://MS.VSCC.2003/MS.MSDNQTR.2003 APR.1033/vbcon/html/vbconDataGridCo lum[color=blue]
      > ns.htm
      >
      > Hope this help.
      >
      > --
      > Tiki, C# Team
      > This posting is provided "AS IS" with no warranties, and confers no[/color]
      rights.[color=blue]
      > Use of included script samples are subject to the terms specified at
      > http://www.microsoft.com/info/cpyright.htm
      >[/color]


      Comment

      Working...