We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

using Grid in managed c++

Hello. I am using the grid in a managed C++ environment (due to design specs) I Am unable to set the grid value of a cell or a column/row name. The c# version was grid[1,1].Text = "Test" I have tried the following in C++. grid[1,1]->Text = "Test grid->Item[1,1]->Text = "Test" and have failed. Does anyone know the C++ equivalent of the array property. Regards San Tuon

1 Reply

AD Administrator Syncfusion Team November 5, 2003 09:52 AM UTC

Try this->gridControl1->Item[1][5]->Text = "someText"; Attached is a little sample project in managed c++. It was done in our 2.0 alpha code so if you are using an earlier version of the library and get some-properties-not found type errors in the designer generated code, just comment them out to get things to run with your version.

Live Chat Icon For mobile
Up arrow icon