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 » Can gridctrl remember row column sizes & other questions
Re: Can gridctrl remember row column sizes & other questions [message #21379 is a reply to message #21377] Sat, 16 May 2009 15:41 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

[quote title=gprentice wrote on Sat, 16 May 2009 07:41]Hi

Does GridCtrl have the ability to remember the width/height of individual columns/rows? If not, is there a way to get notification of these things being changed so the settings can be saved and restored or to iteratively save & restore.
[/qoute]
Just add in your Serialize method
s % grid;

of course before serializing all column should be defined.
Quote:


Can individual cells in GridCtrl contain controls such as check-boxes or combo boxes or bitmaps?


Ctrls - generally yes, but it's not available to the developer right now. I'll commit few lines of code today or tomorrow and write in this thread about them.
Bitmaps - not directly, you have to assign a display class for particular cell, but SetDisplay is not right now in public scope. I'll change that too.
Quote:


Is it possible for an individual cell to hold wrapped text (i.e. multiple lines) like in excel?


It cannot be set for cell only. But you can set it for the column.
grid.AddColumn("Wrapped").WrapText()

Quote:


What are the main differences between GridCtrl and ArrayCtrl?


You have more advanced editing features - row mode/cell mode/mixed mode
Coping/Pasting
Summaries
Fixed rows/columns
Shifting rows up/down
Dragging columns/rows

In the past I just needed more advanced ArrayCtrl and modyfing original control was too hard for me and also Mirek and Thomas used it a lot in their commercial software so it was even impossible to do some serious architectural changes. It was simply easier to start with new code.

I'm working right now on adding grouping to grid so this will be another important difference.
Quote:


BTW - in GridCtrl homebudget example about box it says "coping, distributing or using without a valid license is deprecated".
- "coping" should be copying, and what does deprecated mean??


Forget about this. It should be removed. The licence is the same as for U++.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl problem
Next Topic: GridCtrl: Sorting and Converters
Goto Forum:
  


Current Time: Tue Jul 08 06:57:18 CEST 2025

Total time taken to generate the page: 0.03802 seconds