ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-03-14 01:26:50

asparatu
Member
Registered: 2014-08-20
Posts: 196

How to copy the column format to another column programmically

Hello Jing,
   Is there away to clone all the setting of column and then add that formatting to another column? or can i make column in the editor and then add or merge that to an existing sheet as new column?

Shane

Offline

#2 2016-03-14 14:44:31

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: How to copy the column format to another column programmically

Hi Shane, you could get a cell style by using GetCellStyle method of worksheet, then set the style to target cells or range using SetRangeStyles method.

Offline

#3 2016-03-15 01:48:09

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: How to copy the column format to another column programmically

Hello Jing,
   Ok, thank you..
Shane

Offline

Board footer

Powered by FluxBB