Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Error with hidden columns in V1.03 B2
Tue, Feb 4 2014 5:24 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

If I assign an empty dataset to a grid and there is a hidden column on
the grid I get an error in V1.03 build 2 (this worked fine in build 1)

The error just says:

NotFoundError

Line 1

--
Chris Holland
[Team Elevate]
Tue, Feb 4 2014 5:53 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

I have got around this for the time being by altering the following code
in the WebDom unit in the framework:

// Original code
//=================
procedure RemoveHTMLElement(Parent: THTMLElement;
                          Element: THTMLElement);
begin
   if Assigned(Parent) and Assigned(Element) and then
      Parent.removeChild(Element);
end;

// Modified code
//=================
procedure RemoveHTMLElement(Parent: THTMLElement;
                          Element: THTMLElement);
begin
   if Assigned(Parent) and Assigned(Element) and
Assigned(Element.parentNode) then
      Parent.removeChild(Element);
end;


I added the "Assigned(Element.parentNode)" to the test before removing
the Child.


Chris Holland
[Team Elevate]

On 04/02/2014 10:24, Chris Holland wrote:
> If I assign an empty dataset to a grid and there is a hidden column on
> the grid I get an error in V1.03 build 2 (this worked fine in build 1)
>
> The error just says:
>
> NotFoundError
>
> Line 1
>
Tue, Feb 4 2014 8:10 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< If I assign an empty dataset to a grid and there is a hidden column on
the grid I get an error in V1.03 build 2 (this worked fine in build 1) >>

This is the same issue as mentioned in the other thread and is fixed in B3
(coming out today).

Tim Young
Elevate Software
www.elevatesoft.com
Image