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

Issue in delete mutiple rows in radeditor table

1 Answer 99 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jiten
Top achievements
Rank 1
Jiten asked on 23 Feb 2015, 11:48 AM
Hello,
   I found the issue in radeditor table deletion. I can't delete multiple rows in one time by selecting multiple rows. But I can delete one by one row.
I think my query make sense to you.

Please help me as soon as possible.

Thanks


Jiten Mutum


 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 25 Feb 2015, 12:13 PM
Hi Jiten,

Indeed, more that one row cannot be deleted in the RadEditor. When it comes to HTML editable documents, note that mostly DOM operation are used to manipulate this content via the tools.

With the scenario described, the browser would remove only the text inside the selected cells. This is a proper behavior when it comes to selection that strictly defines text ranges.

Although, rows are DOM elements. How to define programmatically which rows to delete. On the client you can find out which DOM elements have been selected by the user, but you cannot understand if the whole row is selected or only part of it. In such a scenario what to delete? The whole row or only the text?

The required functionality cannot be part of a built-in tool, as it would cause many undesired side effects. At this moment the user is enabled to delete the entire row. The simple select-and-delete option best defines which row to delete. Also, acts as the end-user would expect to. Therefore, the option fro the user is to select each row manually and delete it.

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