Autor Beitrag
dark-destination1988
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 178
Erhaltene Danke: 21



BeitragVerfasst: Di 06.09.11 08:11 
Hey,

wieder einmal ein ganz banales Problem. Ich habe ein Gridview und ich will beim Markieren das Grid scrollen. Leider wird es beim "runterfahren" der Maus nicht mit gescrollt, sondern er bleibt auf der aktuellen Position (nicht wie bei Excel zum beispiel , wo man dann auf weiter unten liegende zeilen kommt. Wie kann ich also eine Markierung (zum Beispiel über das Gesamte Gridview) ermöglichen. (übrigens funktioniert str+a)

Moderiert von user profile iconTh69: Titel geändert.
mats74
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 189
Erhaltene Danke: 26

Win 10
VS 2017/19, C++, C#
BeitragVerfasst: Di 06.09.11 08:42 
Hallo dark-destination1988

Das muss an den Eigenschaften des DataGridView's liegen.
Bei mir funktionierts tip top.

Liegt es an folgenden Einstellungen:

ausblenden C#-Quelltext
1:
2:
dataGridView1.MultiSelect = true;
dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;


Shortcut str+a funktioniert auch, wobei ich meine spezifischen Shortcuts separat programmiert habe.

Gruss
mats74
dark-destination1988 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 178
Erhaltene Danke: 21



BeitragVerfasst: Di 06.09.11 12:07 
ne das funktioniert leider nicht, ich verwende die radgridviews
mats74
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 189
Erhaltene Danke: 26

Win 10
VS 2017/19, C++, C#
BeitragVerfasst: Di 06.09.11 13:27 
Hallo dark-destination1988

Ich habe noch nie mit RadGridView's gearbeitet.
Woher implementiere ich diesen Typ Gridview in mein C#-Projekt?

Gruss
mats74
mats74
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 189
Erhaltene Danke: 26

Win 10
VS 2017/19, C++, C#
BeitragVerfasst: Di 06.09.11 13:37 
... ich hab's gefunden (Telerik-Softwareproducts).
Ich werde diese zusätzlichen Control's bis auf weiteres in meinen Projekten nicht verwenden.
Daher kann ich Dir leider auch nicht weiterhelfen.
Sorry, ist aber sicherlich eine interessante Erweiterung des .Net, die ich sicherlich später näher betrachten werde.
Danke dafür.

Gruss
mats74