General information
Category:
Internet applications
No. Unfortunately cloneNode really doesn't address the problem. What is really needed are two methods that complement each other:
1) oSourceFormatting=oSourceCell.CollectAllAttributesThatAffectEntireContents()
this would include all elements(such as font [face, size, color], Bold, Italic, etc) that enclose the entire cell's contents, plus the cell's background color, so that you can clone the cell's appearance to other cells.
and
2) oTargetCell.ApplyVisualAttributeObject(oSourceFormatting)
>-----------
>In other words, you have to traverse the DOM and do it programatically, interating to each cell in each row that corresponds to _that_ column, then programatically manipulate the HTML contents of that cell(either by re-inserting HTML or using the DOM to insert elements or set attributes on existing elements).
>---------------
>
>You shouldn't have to know what the heck you're imitating when you propagate a style. Can't you just use cloneNode for this? Stay ignorant of the information in your code, IOW?
>
>>L<
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only