Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
iconfalse

Quick video tutorial (no audio)

How to Use

Creating Callback Function

Table cells can be dynamically colored by using the input parameters of the Callback Function. You can filter tables by ColumnName and Rows.

To use this feature, you will need to add a callback function in in the ClientMain class that is called every time the DataGrid is modified.

...

In this example, we will add the following table to our Reportreport:

It is possible to dynamically color the Table Cells using the input parameters of the

Callback Function

...

Callback Function Usage

The code below shows an example of how this feature can be implemented.

...

Report with Colored DataGrid

You will need to insert Insert a table with the correct number of columns and only TWO rows. In the first column, you will write the text that will appear as be the column name in the printed report.

In the second column, you will write the correct column name that is in the database.

...

Since the callback function is placed into the ClientMain class, the reports containing DataGrids will only be colored if the report is being saved in by one of the following methods:

  • Using the SaveCommand method in CodeBehind
  • Using the SaveCommand method in a Task with Client Domain
  • Using a tag in the Report report SaveTrigger