Hide a row in a grid using ManualBuild

edited 5:09PM in FastReport 4.0
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:
      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

  • gpigpi
    edited 5:09PM
    This is forum for FR VCL, not FR .Net

Leave a Comment