Page 25 of 25

Posted: Sun Apr 15, 2007 12:57 pm
by srod
michel wrote:Hello Srod,

Is there a way to use egrid to show data without giving the possibility to modify the shown data?

Michel
Aye, lots of ways.

The quickest way would be to set all cells to type #egrid_StaticString etc. You can combine this with code to prevent certain cells being selected by the user etc. Of course, preventing the selection of certain cells in effect renders them read only.

Alternatively, you can intercept various messages to prevent certain cells from haing their contents altered in any way.

If you need an example then just let me know.

:)

Posted: Sun Apr 15, 2007 2:33 pm
by DoubleDutch
Is there a way to use egrid to show data without giving the possibility to modify the shown data?
In the callback just set it to a static type, see the default case below:

Code: Select all

Case #egrid_NotifyCellType
  Select *cellinfo\column
.
.
.
    Default
      *cellinfo\celltype=#egrid_StaticString
  EndSelect
SRod: Still no file at the link for beta 2...?

Posted: Sun Apr 15, 2007 2:46 pm
by srod
DoubleDutch wrote:SRod: Still no file at the link for beta 2...?
What beta 2? I haven't created a beta 2 yet! :wink: Where's the link you're talking about?

The static library available for download on the egrid site is the most recent version uploaded. I have a new version which I'll upload tonight, which will be version 1.02 of egrid 5. The dll version is a little behind but that will be rectified tonight.


@michel, why are you not using egrid 5, it has quite a number of enhancements etc?

Posted: Sun Apr 15, 2007 6:09 pm
by DoubleDutch
This beta 2 -->
egrid 5 - beta 2 ready for testing!
.
.
.
Thanks again.

Download the beta: http://www.purecoder.net/egrid5Beta2.zip

Just noticed that its egrid 5!!!

Posted: Sat May 24, 2008 4:34 am
by Rook Zimbabwe
SRod... How doe eGrid output text for printing?

In Excel columns are exact... I wonder if you had some similar feature?

Posted: Sat May 24, 2008 10:34 am
by srod
Hi, -wow this is an old thread.

Please switch to the EsGRID thread.