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
110
Wingrid & date
posted

I am using a wingrid in my application and it binds to a datasource and displays data.The date shows a "01/01/0001" when the specific date column in the table is null..how do I make it display a "customized text like "NA" instead of this defaulted date.

 I tried to set he nulltext property in the grid to "NA" please help

 

 

Parents
No Data
Reply
  • 918
    posted

    Use the initialize row event.  

     

    If e.row.cells"(CellwithDate").value = 01/01/0001 then

    e.row.cells"(CellwithDate").value ="NA"

    end if

Children