Jump to content

Unidbgrid: missing Tab in row editing, dgInsert, UpdateRowDataset...


jeans_larghi

Recommended Posts

Hi Farshad,

working with latest release;

Some issue and needs (all in the dbgrid):

 

Tab or navigate in a dbgrid row while editing: Pressing tab or any key in a next/previous fields not go to editing; it works only with [enter] or [click] inside.

 

dgInsert: Pressing the down arrow on last row is no longer possible to add automatically a new row in a dbgrid.

 

UpdateRowDataset : it is very useful if you insert a method that update the underline dataset fields when leave a modified cell (optionally used on onexit of cell), so we can  calculate  or modify other fields in the record and show with  RefreshCurrentRow(), WITHOUT post operation and WITHOUT exit from the row for update related fields (very useful on lookups, calculate and validate fields during edit).

 

As Always.... partial fetch with scrollbars (infinite scroll)....advanced dblookups.... :-)

 

Best Regard!!!

Link to comment
Share on other sites

Hi Farshad,
sorry...
 
 
We obtain this feature via  code (dgInsert) like this...
if key = VK_DOWN then
  begin
    if DataSource1.DataSet.RecNo = DataSource1.DataSet.RecordCount then
      begin
        if not(DataSource1.State in [dsEdit,dsInsert]) then
          DataSource1.DataSet.Append;
      end;
  

:biggrin:  :biggrin:  :biggrin:  :biggrin:  :biggrin:

  • Upvote 1
Link to comment
Share on other sites

×
×
  • Create New...