Topic: Bulk Edit or Delete
Will there be an option to perform a bulk edit (in line editing) or allow for multiple record selection from a grid?
Thank you,
Rob
My Visual Database → General → Bulk Edit or Delete
Will there be an option to perform a bulk edit (in line editing) or allow for multiple record selection from a grid?
Thank you,
Rob
You can only delete multiple records, example:
http://myvisualdatabase.com/forum/viewtopic.php?id=1433
You can only delete multiple records, example:
http://myvisualdatabase.com/forum/viewtopic.php?id=1433
Thanks for pointing me in the right direction. Are there plans to add a checkbox within the grid? I would like to us a checkbox columns as part of the multiselect rather than using the selected records. I have many items and it goes across many pages and think the checkbox is an easier construct for endusers.
Thank you,
Rob
rjkantor
Please, try this example, for multiselection used first column in TableGrid.
http://myvisualdatabase.com/forum/misc. … download=1
rjkantor
Please, try this example, for multiselection used first column in TableGrid.
http://myvisualdatabase.com/forum/misc. … download=1
Very cool. Thank you.
Rob
Dimitry -
I am trying to add a total selected footer can you tell me why the footer is not appearing?
procedure frmMain_TableGrid1_OnChange (Sender: string);
var
i,d,x: integer;
begin
x := 0;
d := frmMain.TableGrid1.RowCount - 1; // count of records in TableGrid
for i :=0 to d do
if frmMain.TableGrid1.Cell[0, i].Color = clRed then // if record selected
x:= x+1;
frmMain.TableGrid1.Columns[0].Footer.color := clRed;
frmMain.TableGrid1.Columns[0].Footer.Caption := 'Selected: ' + inttostr(x);
end;
You should to enable footer:
Form1.TableGrid1.Options := Form1.TableGrid1.Options + goFooter;
I found if I move the code into the onCellClick the footer works after I enable it like you pointed out.
Please, download this example, how to enable footer by script.
My Visual Database → General → Bulk Edit or Delete
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi