Add elements to the GridView

2 posts, 0 answers
  1. Rodolfo
    Rodolfo avatar
    1 posts
    Member since:
    Oct 2013

    Posted 24 Dec 2013 Link to this post

    Hello, I wonder how do I use this code in radGridView. It works perfectly in datagridview standard visual studio.

    Code:

    int n = dataGridView1.Rows.Add();
                    dataGridView1.Rows[n].Cells[0].Value = listProced.
                    dataGridView1.Rows[n].Cells[1].Value = listConv;
                    dataGridView1.Rows[n].Cells[2].Value = listPro;
                    dataGridView1.Rows[n].Cells[3].Value = listProce;

                    dataGridView1.FirstDisplayedScrollingRowIndex = n;

                    dataGridView1.CurrentCell = dataGridView1.Rows[n].Cells[0];

                    dataGridView1.Rows[n].Selected = true;

    thank you!
  2. Stefan
    Admin
    Stefan avatar
    2911 posts

    Posted 25 Dec 2013 Link to this post

    Hello Rodolfo,

    Thank you for writing.

    Please consider the following articles where you can find the requested information:
    I hope this helps. 

    Regards,
    Stefan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top