In my code I call MyTable.HideCol(0) but this only hides the column on the header and first row
Is that correct?
In my code I call MyTable.HideCol(0) but this only hides the column on the header and first row
Is that correct?
I retested this here and could not see an issue. The column is hidden on all rows of the control.
If the problem persists with the latest version, please isolate this and provide a sample source project with which we can reproduce this.
I've coded around it and if I have the time I'll try to give you a simple version (my list of simple versions is getting longer, but once I have coded around it, the pressures off). This is the latest non beta version.
I have replicated this issue in the XData Demo firedac-sql.
Attached is an updated web client (zip includes a populated database or there is a script to populate your database). The call has been tried in the form on create and after data is loaded (the form create one is commented out - just change the commenting between the 2 to try it out.
These calls only hide column 0 for the first row.
firedac-sql webclient.zip (7.9 KB)
Calling XDataWebDataset1.Open has an asynchronous result, so, you call WebDBTableControl1.HideColumn(0); before the asynchronous call completed.
I recommend you call WebDBTableControl1.HideColumn(0); from the XDataWebDataset1.AfterOpen event.
I'll take a look.
It would nice that this was held at the column level so automatically was applied to every row, which I think is what you would expect. I'll raise a feature request.
We'll check