Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Using checkbox in Grid control
Tue, Oct 23 2012 10:25 AMPermanent Link

John Taylor

I'm trying to build an orders page for my website and create a summary of
items ordered by populating a Grid.

I have a 'Remove' column defined as a ctCheckBox with the AllowEdit property
set to true and ReadOnly set to false.

I can populate the grid with no problem but I cannot chang the Remove
checkbox by clicking on it.  When I click it
nothing happens.  If I double click the check box, I get the error 'Unable
to get value of property 'toLocalUpperCase':
object is null or undefined.

What I want is for the user to check the items he want to remove then click
an 'Update cart' button and remove the
checked items from the Grid, which is just a summary of the items ordered.

What am I missing ?

Thanks
JT
Tue, Oct 23 2012 10:34 AMPermanent Link

John Taylor

BTW, there is no dataset involved and the DataSet property of the TGrid is
empty.  I'm just trying to show a summary and
don't need a dataset.  Is that the problem ?  If so, how can I do it without
a dataset ?

JT

"John Taylor" <jcta@snappysoftware.com> wrote in message
news:BF81B2A8-0C48-4ECD-A622-AF6BE13FC1A7@news.elevatesoft.com...
> I'm trying to build an orders page for my website and create a summary of
> items ordered by populating a Grid.
>
> I have a 'Remove' column defined as a ctCheckBox with the AllowEdit
> property set to true and ReadOnly set to false.
>
> I can populate the grid with no problem but I cannot chang the Remove
> checkbox by clicking on it.  When I click it
> nothing happens.  If I double click the check box, I get the error 'Unable
> to get value of property 'toLocalUpperCase':
> object is null or undefined.
>
> What I want is for the user to check the items he want to remove then
> click an 'Update cart' button and remove the
> checked items from the Grid, which is just a summary of the items ordered.
>
> What am I missing ?
>
> Thanks
> JT
Wed, Oct 24 2012 10:26 AMPermanent Link

John Taylor

Could not resolve this so I took another route

JT

"John Taylor" <jcta@snappysoftware.com> wrote in message
news:4244144C-7AA8-46D5-BF66-34763FCB98CA@news.elevatesoft.com...
> BTW, there is no dataset involved and the DataSet property of the TGrid is
> empty.  I'm just trying to show a summary and
> don't need a dataset.  Is that the problem ?  If so, how can I do it
> without a dataset ?
>
> JT
>
> "John Taylor" <jcta@snappysoftware.com> wrote in message
> news:BF81B2A8-0C48-4ECD-A622-AF6BE13FC1A7@news.elevatesoft.com...
>> I'm trying to build an orders page for my website and create a summary of
>> items ordered by populating a Grid.
>>
>> I have a 'Remove' column defined as a ctCheckBox with the AllowEdit
>> property set to true and ReadOnly set to false.
>>
>> I can populate the grid with no problem but I cannot chang the Remove
>> checkbox by clicking on it.  When I click it
>> nothing happens.  If I double click the check box, I get the error
>> 'Unable to get value of property 'toLocalUpperCase':
>> object is null or undefined.
>>
>> What I want is for the user to check the items he want to remove then
>> click an 'Update cart' button and remove the
>> checked items from the Grid, which is just a summary of the items
>> ordered.
>>
>> What am I missing ?
>>
>> Thanks
>> JT
>
Wed, Oct 24 2012 1:17 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

John,

<< I can populate the grid with no problem but I cannot chang the Remove
checkbox by clicking on it.  When I click it nothing happens.  If I double
click the check box, I get the error 'Unable to get value of property
'toLocalUpperCase': object is null or undefined. >>

This is now fixed for 1.01.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image