Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Not able to remove Columns in Grid.
Not able to remove Columns in Grid. [message #35115] |
Fri, 13 January 2012 12:32 |
Shwetha
Messages: 39 Registered: August 2011
|
Member |
|
|
Hii,
When trying to remove the column from the Grid Control, I am getting assertion error as below, after removing few columns from the grid or sometimes irrespective of columns.
Error:
................
Assertion failed in /root/upp/uppsrc/Core/Vcont.h, line 33
i >= 0 && i < items
Resource temporarily unavailable
................
Below is my code to remove column:
void GridTest::Remove_Col()
{
int count=grd.GetColumnCount();
grd.RemoveColumn(count-1,1);
grd.Repaint();
}
|
|
|
Goto Forum:
Current Time: Sat Jun 08 08:44:59 CEST 2024
Total time taken to generate the page: 0.01332 seconds
|