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 » How set read-only state to a editable column?
Re: How set read-only state to a editable column? [message #5592 is a reply to message #5590] Thu, 05 October 2006 00:25 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

unodgs wrote on Wed, 04 October 2006 16:24

nicomesas wrote on Wed, 04 October 2006 06:08

It is a complicated case, that I have been in the past but that it could return to happen.

I believe that the GridCtrl is looked more like which I am looking for, although I believe that there either a cell cannot be done read-only.

Nico


I can easily add it if you wish in next release...
Correct me if I'm wrong. You want to be able to do something like this:

grid.NoEditable(0)
grid.NoEditable(1)

what means that first 2 rows can't be edited even if columns have edits assigned, right?


I checked my code and it was there already... I only added NoEditable.

To make row not editable type:

grid.GetRow(0).NoEditable()
grid.GetRow(10).NoEditable()

or

grid.GetRow(0).Editable(false) in 0.95 version
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: first row strange behaviour
Next Topic: functions of HeaderCtrl [REQUEST?]
Goto Forum:
  


Current Time: Sun Aug 31 22:18:42 CEST 2025

Total time taken to generate the page: 0.04932 seconds