Multi "column" DataGridView C #

I have a DataGridView associated with a DataSet. It has columns DateCreated, Weight, DateUsed. These three columns do not take up much horizontal space in the DataGridView, which is almost full-screen. Is it possible for these columns to return to the top if the presentation is wide enough to support the second group of these columns. Thus, through the header, it will read DateCreated, Weight, DateUsed, DateCreated, Weight, DateUsed. Then, when the row is pressed, only 3 cells will be selected, not all six. Is there anything that can provide this functionality?

+5
source share
4 answers

I don't know anything out of the box.

. . DataRow , .

, :

  • DataGridView
  • , DataRows
  • DataTable
    • : DateCreated1, Weight1, DateUsed1, DateCreated2, Weight2, DateUsed2 ..
  • DataTable DataSet
  • DataGridView

: ? , .

, ? .

+2

, , , , - . , , , , BitBucket :

https://bitbucket.org/dtao/taocontrols/downloads

Screenshot of SplitDataGridView control

, SplitDataGridView , .

+1

, , , JS, / DataGridView. "td", CSS- div span .

0

, DGV , DGV, DGV DGV.

, , , DGV , .

0

All Articles