Re: Column hide :: Select Column :: Dynamic Column
Hi,
At design time, in the SC project, under grid - edit fields - you have the ability to drag the fields you want to be visible and hidden. As far as at run time, I haven’t done it, but there are macros that manipulate the fields, sort and where for grid sql, so that might be a start. In other words, you could always modify the sql in your grid, but doing it with the macros in the initscript event.
You can also modify what is shown in a field for each record, based on values and logic, using the onrecord event at run time.
Just some ideas. The macros and events are very powerful and give you lots of hooks into the apps.
As a last resort, if you had to have 100% control for some reason, that particular “grid” could really be done in a blank app, using the macros and some php code. But I bet you could get the effect you want in the grid itself.
peace,
Jamie