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

How to add class to table tr-tag - which is set to colspan?

3 Answers 31 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kristian Thrane
Top achievements
Rank 1
Kristian Thrane asked on 04 May 2010, 03:51 PM
If I am setting table cell to colspan=2 via the table wizard, then I am not able to add a class to the tr afterwards - anyone experienced this, and knows a fix? :)

Kristian Thrane - frontend @ yousee.dk


3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 05 May 2010, 12:30 PM
Hi Kristian,

I am not quite sure that I understand your scenario. By design, the TableWizard dialog does not offer the possibility to apply class to a TR element - you can apply class to a cell using CellProperties tab, or to the table using TableProperties tab. However, you can apply class to table row using the PropertyInspector System Module - please check this movie.

If that is not the case, could you please describe in more detail the exact scenario, the problem and the expected behavior?

Kind regards,
Dobromir
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.
0
Kristian Thrane
Top achievements
Rank 1
answered on 06 May 2010, 11:08 AM
Hi Dobromir,

Thank you for quick response.

It seems only to be a problem, if you are setting your TD to span all of the cols in the table. So the problem occurs if you set colspan="2" on a table with 2 columns.

Example in this video: http://screenr.com/ozC

Kristian Thrane - frontend @ yousee.dk
0
Dobromir
Telerik team
answered on 11 May 2010, 04:09 PM
Hi Kristian,

Thank you for the clarification and the provided movie.

It appears that clicking on the <tr> link in the TagInspector system module does not return the proper selection in this scenario.I can confirm that this is a bug and I have logged this problem in our PITS system and we will do our best to fix this for one of  the upcoming releases.

Unfortunately, we are unable to provide suitable workaround for this issue at the moment. You can follow the PITS Issue by its ID: 2117.

As a small token of gratitude I have updated your Telerik points.

Regards,
Dobromir
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
Editor
Asked by
Kristian Thrane
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Kristian Thrane
Top achievements
Rank 1
Share this question
or