Autor Beitrag
Scofield2011
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55

Windows XP, Windows 7, Windows 8
C#, VBA, VB
BeitragVerfasst: Fr 31.08.12 21:27 
Hallo,

ich habe eine Frage zu den DataGridViews.

Gibt es eine Möglichkeit, ähnlich beim Excel, dass man ganze columns oder auch nur Teile davon zu einer merged?

Also zum Bespiel in einer DataGridView mit 10 rows die erste Spalte der ersten 5 fünf rows zu einer zusammenfasst?

Vielen Dank schon einmal im Voraus für eure zahlreichen Antworten.

Scofield2011
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4798
Erhaltene Danke: 1059

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Sa 01.09.12 09:37 
Hallo Scofield2011,

nein, das DGV unterstützt kein sog. Row- bzw. Column-Spanning.
Als Excel-ähnliche Alternative kann ich dir das kostenlose SourceGrid empfehlen.
Scofield2011 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55

Windows XP, Windows 7, Windows 8
C#, VBA, VB
BeitragVerfasst: Sa 08.09.12 01:11 
Nachdem ich mich ein paar Tage mit dem SourceGrid beschäftigt habe, muss ich sagen: ein echt spitzenmäßiger Tipp.

Da bekommt man richtig leuchtende Augen, wenn man sieht, was man damit alles machen kann. Auch für zukünftige Projekte.

Also noch einmal vielen Dank für den Tipp.
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4798
Erhaltene Danke: 1059

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Sa 08.09.12 10:26 
Bitte sehr ;-) Wobei ich hätte dazuschreiben sollen, daß die Einarbeitung nicht an einem Tag zu schaffen ist - wobei, dann hättest du es dir evtl. doch nicht angesehen.