Home Forums WinForms controls Xceed Grid for WinForms checkbox in grid

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #15491 |

    Hi.

    After upgrading from grid 3.0 to 3.6 I started having an issue.

    I have an grid that gets its data from a dataset. I make all the columns readyonly except one bool column. The idea is the user looks through a list of things that they will have to click on/off. Once done they click save.

    The save loops thru the rows and stores the update to the database. Then I reload the data into the grid. Here is where my problem comes in.

    On the reload, when I try to “gridUsage.DataSource = _dsEmpUsage.Tables[0];” I get an error that says, “An attempt was made to create a cell when its parent row is not part of a grid.”

    Has anyone else run into this?

    A strange thing is that I created a new application to reproduce the issue and I cannot reproduce the issue.

    Windows XP service pack 2, 2.0 framework.

    Imported from legacy forums. Posted by walkaboutsd (had 2519 views)

    User (Old forums)
    Member
    Post count: 23064

    Well, that was fast.
    I had tried about 50 things to find the issue including searching this forum. After I posted the question the 51st thing I tried made the problem go away. 🙂

    UIVirtualizationMode, I set it to None.

    Imported from legacy forums. Posted by walkaboutsd (had 2749 views)

    User (Old forums)
    Member
    Post count: 23064

    [quote user=”walkaboutsd”]UIVirtualizationMode, I set it to None.[/quote]

     My circumstances and exception are pretty much identical to yours, and your solution works for me.

    Thanks for posting it!

    Buzz

    Imported from legacy forums. Posted by Buzz (had 1081 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.