Subject |
Re: Column Sequence in Grid |
From |
Akshat Kapoor <akshat.kapoor@kapoorsons.in> |
Date |
Mon, 19 Sep 2022 19:56:16 +0530 |
Newsgroups |
dbase.getting-started |
Good Evening Milind,
> Can we play with code..?
> example of code...
>
> columns["COLUMN2"] = new GRIDCOLUMN(form.GRID1)
> with (columns["COLUMN2"])
> dataLink = form.employees1.rowset.fields["doj"]
> editorType = 1 // EntryField
> width = 12.4286
> endwith
>
> here can we pass variables for ["COLUMN2"] and ["doj"]
Yes you can play with column sequence.
But you cannot use variables for data linking.
Unless and until you spell out your exact requirements we will not be
able to give specific solution.
Depending upon requirements I have declared grids after the form has
opened *(In a custom function)
I have changed datalinking. But my preference is to use the designer to
design grids.
A typical grid will have approx 100 lines or more. Copy Pasting and
editing it to suit new requirements will be a PITA.
And then the grid will not be visible in designer.
So I prefer designer to design grids and use other means as a last resort.
Regards
Akshat
|