Icon View Thread

The following is the text of the current message along with any replies.
Messages 21 to 22 of 22 total
Thread TGrid: Error When Assigning Value to a Non-Visible Column.
Mon, Feb 3 2014 6:16 PMPermanent Link

PhillipH

Thanks for investigating it Walter and the workaround. Yes hide and show works if you reverse the order as below.
if cbxRadios.Checked =  True then
 begin
//   grdResults.Columns[12].Show;
   grdResults.Columns[11].Show;
   grdResults.Columns[10].Show;
   grdResults.Columns[9].Show;
   grdResults.Columns[8].Show;
   grdResults.Columns[7].Show;
 end
 else
 begin
   grdResults.Columns[7].Hide;
   grdResults.Columns[8].Hide;
   grdResults.Columns[9].Hide;
   grdResults.Columns[10].Hide;
   grdResults.Columns[11].Hide;
 //  grdResults.Columns[12].Hide;
 end;

However column 12 is my last row in the grid and '[12].Show'  will still give an error. Tried adding an extra column but didn't seem to help ?.
Tue, Feb 4 2014 8:07 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Phillip,

<< Thanks for the build 2 update. It is an amazing product and much better
than working with ASP.net and Oxygene. >>

Thanks.  It's got a long way to go, but EWB 2.x will get it closer to where
it needs to be.

<< However showing and hiding columns I still get an "DOM Exception:
NOT_FOUND_ERR (8) when trying to show the columns again IF the columns are
right next to each other. >>

This is now fixed, thanks.   I'll be doing a build 3 today.

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 3 of 3
Jump to Page:  1 2 3
Image