-1

I want to have a grid view like this image enter image description here

I find out that I should have a gridview in datagridview cell so I tried to find how to do that.I finally find that there is not any DataGridViewcolumn type like DataGridViewTextBoxColumn and etc,So I think I must create a custom Datagridview Column..But I don't know how to create..I found this tutorial Tutorial It is about creating a custom cell but I need a grid.I don't know which class should I override in my custom column.Can you please help me find out how to fix my problem? Here is my code

public class DataGridViewGridColumn :
    DataGridViewColumn
    {
        public DataGridViewGridColumn()
        {
        }

        public DataTable  Dt;
        private bool needsRecalc = true;

        public class DataGridViewBarGraphCell :
          DataGridViewCell
        {
//Do I need to override  Paint()?
            protected override void Paint()

        }

        public void CalcMaxValue()
        {
        }
    }
Majid Hojati
  • 1,740
  • 4
  • 29
  • 61

1 Answers1

1

Try SourceGrid. You can download from here.

DhavalR
  • 1,409
  • 3
  • 29
  • 57