Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

Blank Formula

Last post 07-17-2008 9:21 by [Infragistics] Mike Saltzman. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-15-2008 9:57

    Blank Formula

    I am using the formula builder in run time. Everything works fine when I assign a non blank formula. In the formula builder dialog, if I clear the formula for any column, that blank formula never gets affected and the column still shows the old values. Although formula is blank !!

    I tried many things but nothing seems to be working. Any ideas on how can I clear the old values?

    Filed under:
    • Post Points: 20
  • 07-16-2008 9:13 In reply to

    Re: Blank Formula

    Answer

     A Blank formula is the same as no formula, which means the grid just displays the value of the cell without calculating anything. I think you would have to manually clear the contents of the cells by setting the Value of each cell to null. Or maybe change the formula so that it return null or an empty string. 

    Mike Saltzman
    R&D Engineer
    Infragistics, Inc.
    • Post Points: 20
  • 07-16-2008 9:48 In reply to

    Re: Blank Formula

    As a workaround, i am already clearing the value of each cell by looping thru all the rows. However, i do not really like this solution.

    Assigning empty string to the formula of the column is not clearing the cell contents. I think this should be treated as a bug, because formula column having no formula should have empty values.

    • Post Points: 20
  • 07-17-2008 9:21 In reply to

    Re: Blank Formula

    Answer

     There's no such thing as a Formula column with no formula. If the column has no formula, then it's not a formula column, it's just a regular column. Obviously, the grid can't just assume that every column without a formula should be blank - this would mean that no colmun in the grid could ever display any data without a formula. 

    Mike Saltzman
    R&D Engineer
    Infragistics, Inc.
    • Post Points: 5
Page 1 of 1 (4 items)
Powered by Community Server (Commercial Edition), by Telligent Systems