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

Removing Rows in a Table

1 Answer 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Seal
Top achievements
Rank 1
Seal asked on 09 Sep 2010, 10:32 PM
This is probably a really simple thing, but I cant seem to find the right c# commands

I created a Table which has 10 Rows. I like to fill a few of them and then remove the rows left unfilled.
No matter where i try to remove rows its always telling me something like "Table has 1 Row and 2 are expected"
Same problem with adding rows "Table has 3 Rows and 2 are expected"

Any idea how this can be solved?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Sep 2010, 02:21 PM
Hello Seal,

There is no such concept as rows/columns in the Telerik Reporting Table item as it works very differently than a standard Table/Grid control.
The Table / Crosstab report item is not a mere grid of cells and has a very complex internal structure. The Report Designer does a great deal of work to simplify the task of creating a Crosstab, but the underlying code is far from trivial to post and comment on. If you want to alter the item programmatically, the generated code from the designer should be your starting point. Of course you should be familiar with Table concepts and also the exposed API.

Again in contrast to a grid control, a Telerik Report can contain data aware items in it that we call Data Items. They are separate data regions and you have to provide data source for them specifically - they cannot show data from the report data source. Additionally, one should use the Data Explorer to drop databound items as there is no analog for AutoGenerateColumns like with Grid products.
In addition, you can check the following forum thread that elaborates on similar inquiry.

Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Seal
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or