Articles in this section
Category / Section

How to hide '$' symbol in OLAP Grid value cell?

1 min read

You can hide the ‘$’ symbol in OLAP Grid by using the following code example.


    this.OlapClient1.OlapGrid.RowBound += OlapGrid_RowBound;
    void OlapGrid_RowBound(object sender, RowBoundEventArgs e)
        foreach (TableCell cell in e.GridRow.Cells)
            if (cell.Text.Contains('$'))
                 cell.Text = cell.Text.Replace("$", "");



                Private Me.OlapClient1.OlapGrid.RowBound += OlapGrid_RowBound
                Private Sub OlapGrid_RowBound(ByVal sender As Object, ByVal e As RowBoundEventArgs)
                                For Each cell As TableCell In e.GridRow.Cells
                                                If cell.Text.Contains("$"c) Then
                                                                 cell.Text = cell.Text.Replace("$", "")
                                                End If
                                Next cell
                End Sub

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment