Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 14 of 14 total
Thread Doubleclick to enter grid cell value
Thu, Jul 2 2015 3:45 PMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Tim,

This is the code i am using (button click) after grid cell value has
been updated (doubleclicked and value changed):

 Database.StartTransaction;
  try
      with BestillingMaster do begin  // Master dataset - not connected
to any visual control
      Update;
      Save;
      end;
      with BestillingDetail do begin // Detail dataset - Grid connected
to this dataset
      Update;
      Save;
      end;
      Database.Commit;
      except
      Database.Rollback;
      raise;
  end;

Regards,
Hüseyin

On 02-07-2015 21:34, Tim Young [Elevate Software] wrote:
> Hüseyin,
>
> << Dataset insert and loadrows from dataset works fine with the grid.
> When i enter a cell (doubleclick actually -  just entering the cell
> does not
> set focus)  in grid to change some value (like amount field), the
> changes are not reflected back to dataset, even if i make a
> dataset.update, dataset.save.. commit in a transaction. >>
>
> Please post the code that you’re using.  It matters where you start
> the transaction/commit, because it has to be done *after* the row has
> been updated.
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
>

Thu, Jul 2 2015 3:47 PMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Tim,

Ok, so a change is on the way Smile

Regards,
Hüseyin

On 02-07-2015 21:32, Tim Young [Elevate Software] wrote:
> Hüseyin,
>
> << I have a grid connected to a dataset, when i enter a cell in grid i
> have to doubleclick before i can change the value - is it normal? >>
>
> Yes, you have to double-click or use the Enter key.
>
> One of the outstanding enhancement requests is an AlwaysShowEditor
> type of property for the grids.
>
> Tim Young
> Elevate Software
> www.elevatesoft.com

Fri, Jul 3 2015 11:14 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hüseyin,

<< This is the code i am using (button click) after grid cell value has been
updated (doubleclicked and value changed): >>

How is the code being run ?  Button event handler, etc. ????

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jul 3 2015 2:40 PMPermanent Link

Huseyin Aliz

myBiss ApS

Avatar

Tim,

Please ignore this, because i have changed my code to use runtime
dataset, and it works now Smile
Just waiting for AlwaysShowEditor property for the grid?

Regards,
Hüseyin

On 03-07-2015 17:14, Tim Young [Elevate Software] wrote:
> Hüseyin,
>
> << This is the code i am using (button click) after grid cell value
> has been updated (doubleclicked and value changed): >>
>
> How is the code being run ?  Button event handler, etc. ????
>
> Tim Young
> Elevate Software
> www.elevatesoft.com
Previous PagePage 2 of 2
Jump to Page:  1 2
Image