Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Editing + JoinFixedCells bug
Re: Editing + JoinFixedCells bug [message #40840 is a reply to message #40810] Mon, 23 September 2013 06:07 Go to previous messageGo to previous message
iST1 is currently offline  iST1
Messages: 107
Registered: August 2013
Experienced Member
Insert error (maybe) happened:

Add -> Add -> Add
#if 1
http://s005.radikal.ru/i209/1309/0a/9c9011b430e8.png

#if 0 (view artefact - gray field)
Add -> Add -> Insert(1)
http://s04.radikal.ru/i177/1309/98/1bf35f443496.png
GUI_APP_MAIN
{	
	TopWindow wnd;
	AppGrid grid;
	
	wnd.Add(grid.SizePos());
	grid.AddColumn("Col1");
	grid.AddColumn("Col2");
	
	grid.Add();
	int ir = grid.GetRowCount() - 1;
	grid.JoinCells(0, ir, 1, ir);
	grid.Set(ir, 0, "c11");
	grid.Set(ir, 1, "c12");	
#if 0
	grid.Add();
	ir = grid.GetRowCount() - 1;
	grid.Set(ir, 0, "c21");
	grid.Set(ir, 1, "c22");

	grid.Add();
	ir = grid.GetRowCount() - 1;
	grid.Set(ir, 0, "c31");
	grid.Set(ir, 1, "c32");
	grid.JoinCells(0, ir, 1, ir);
#else
	grid.Add();
	ir = grid.GetRowCount() - 1;
	grid.Set(ir, 0, "c31");
	grid.Set(ir, 1, "c32");
	grid.JoinCells(0, ir, 1, ir);

	grid.Insert(ir);
	grid.Set(ir, 0, "c21");
	grid.Set(ir, 1, "c22");
#endif
	wnd.Sizeable();
	wnd.Run();
}


if you click on the title to sort, disappeared row showing:
http://s017.radikal.ru/i440/1309/0d/25b4e2963d4f.png

[Updated on: Mon, 23 September 2013 06:23]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error: ItemRect::Editable(false) + Tab
Next Topic: Getting row index from Display
Goto Forum:
  


Current Time: Thu Aug 14 04:24:37 CEST 2025

Total time taken to generate the page: 0.07482 seconds