Jump to content


Duplicate a column


  • Please log in to reply
4 replies to this topic

#1 PatVdv

PatVdv
  • Members
  • 10 posts
  • Location:Belgium
  • Interests:Computer... Computer...

Posted 20 October 2005 - 03:24 PM

Hi all,

Is there an easy way to make a clone of an existent column in a new grid ?

Thks

Patrick

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 6,685 posts
  • Gender:Male

Posted 21 October 2005 - 02:03 PM

Hello,

All you have to do is to create new Column, or use Columns.Add method. Then you need to use Assign method, to assign all properties of Source Column to Target Column

Best regards
boki@bergsoft.net
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 PatVdv

PatVdv
  • Members
  • 10 posts
  • Location:Belgium
  • Interests:Computer... Computer...

Posted 21 October 2005 - 03:06 PM

Hi Boki,

Great Great Great

Thanks again for your support.

#4 flavsouvou

flavsouvou

    Senior Member

  • Members
  • PipPip
  • 204 posts

Posted 18 March 2012 - 07:25 PM

Hi Boki,

could you provide some code to duplicate a column.
I can't succeed in using " Columns.Add" because I don't know how to retrieve the TNxColumnClass of source column.


Thanks

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 6,685 posts
  • Gender:Male

Posted 20 March 2012 - 02:37 PM

Hi,

Duplicate method will be added for Columns from upcoming release.
boki@bergsoft.net
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users