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 » Community » Newbie corner » How to Xmlize gridctrl
Re: How to Xmlize gridctrl [message #44627 is a reply to message #44626] Mon, 27 April 2015 21:51 Go to previous messageGo to previous message
idkfa46 is currently offline  idkfa46
Messages: 155
Registered: December 2011
Experienced Member
I try to clarify my problem. My GridCtrl's have 2 Editable columns that are:
        geomGrid.AddColumn(SP_ID,  t_("Spessore")).Fixed(60).Edit(sp);
	geomGrid.AddColumn(CDR_ID, t_("Classe di resistenza")).Fixed(100).Edit(CdRdl);


Where sp and CdRdl are:
        EditDouble sp;
	DropList CdRdl;


Here is what happen when I try to Xmlize it:
                               <Geometria>
						<data>
							<item>
								<item type="String">Legno - t:</item>
								<item type="double" value="200"/>
								<item type="String">mm</item>
								<item type="WString">GL24h</item>
								<item type="double" value="0"/>
							</item>
							<item>
								<item type="String">Acciaio - s:</item>
								<item type="double" value="10"/>
								<item type="String">mm</item>
								<item type="WString">S235</item>
								<item type="double" value="90"/>
							</item>
						</data>
					</Geometria>


Where <item type="double" value="200"/> and <item type="WString">GL24h</item> are the right stored values of "sp" and "CdRdl".
Where I try to load this xml my GridCtrl is correctly loaded but "sp" and "CdRdl" are missing...


There is something more to do when I try to store/load columns with Editable values in GridCtrl or maybe the problem is not there?!

Regards,
Matteo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Starting a top window hidden?
Next Topic: How does one position the mouse cursor?
Goto Forum:
  


Current Time: Wed May 29 02:47:21 CEST 2024

Total time taken to generate the page: 0.02248 seconds