This is a migrated thread and some comments may be shown as answers.

Indicate to a Table the DataSource has a GROUPING SET from SQL

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
NerdBrick
Top achievements
Rank 1
NerdBrick asked on 01 Jul 2014, 05:50 PM
Hello, 

We are binding a Table DataSource to a SQL Sproc that is taking advantage of GROUPING SETS where the last row in the result set that has the aggregation already applied to the data based on the DB design requirements. 

What is the best way to tell the Table that the data set has this special last row so we can: 

1) format the row in a special way (bold, font size, and such)
2) Set a couple cells to a special text value ("Total", "Summary") 

Do we just use Conditional Formatting rules on each cell the last row? Or is there a better way to do this?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 04 Jul 2014, 01:11 PM
Hello Brick,

All of the rows coming from the data source are interpreted as detail data rows by the Table item. The item cannot and should not make a difference between the rows and whether they contain detail data, grouped data or even hierarchical data. Thus, in order to set different formatting to the last row text boxes you will need to use Conditional Formatting, as you suggested.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
NerdBrick
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or