Hide a row in a grid using ManualBuild
Hi, i'm evaluating FastReport. I need to know if this action can be done.
I'm filling a table using the manualBuild event, using this code (taken from a demo), to fill a grid where rows are columns:
My question is: after i've filled the grid, is there a way to detect if a row has all empty values? and a way to hide it?
Thank you
I'm filling a table using the manualBuild event, using this code (taken from a demo), to fill a grid where rows are columns:
      DataSourceBase columnData = Report.GetDataSource("TestDataSource");
      columnData.Init();
      // print the first table column - it is a header
      Table5.PrintColumn(0);
      // each PrintColumn call must be followed by either PrintRow or PrintRows call
      // to print cells on the column
      Table5.PrintRows();
      Table5.PrintColumn(1);     Â
      Table5.PrintRows();
     Â
      // now enumerate the data source and print the table body
      while (columnData.HasMoreRows)
      {
        // print the table body Â
        Table5.PrintColumn(2);
        Table5.PrintRows();
        // go next data source row
        columnData.Next();
      }
My question is: after i've filled the grid, is there a way to detect if a row has all empty values? and a way to hide it?
Thank you
Comments