Filter result in column gridband

Hi Team -

In web designer I would like to filter the result from the gridband, from PWODecisionHistory its column DecisionType where only the 'Grant' value will show.

Is there any way to do this?

Thank you.

  • Hi All,

    I have already resolved the above issue, but I have another question. Can anyone check if this is the correct code to filter the column grid.

    var dataSource = GridBand1.DataSource;

    var col = dataSource.Table.GetColumn("StructureDisplay1");

    if (!dataSource.GroupingColumns.Contains(col))

            dataSource.GroupingColumns.Add(col);

    I have tried to apply it to the filter but it says error code CS1061 " Does not contain a definition for "Grouping column" and no extension method 'Grouping column' .

    Any advice would be appreciated.

    Thank you.