Table row numbers without any item in the table header

Main issue: How to set the table row numbers without any item in the table header?

While using the row numbers in table view to get the standard tag “%currentRecordIndex%%” as text property, there is a number always appearing in table header.

See the image below:

[attachment=0]Capture.GIF[/attachment]
Is there a way to use this feature and remove or hide the table header for the “%currentRecordIndex%%” text property.

This feature is very helpful because without any calculation you get the number of the row.

If not possible to hide the number (see highlighted circle of image above), is there any work around supported in Servoy 5 and 6?

Best, JC

Just place a label on the form and make it a labelFor for the column.

Regards,

Peter

Peter de Groot:
Just place a label on the form and make it a labelFor for the column.

Regards,

Peter

That’s not a column of data source. It’s actually a label where you can add the standard tag “%currentRecordIndex%%” as text property. Still I wonder if this worked :?

I’ll give it a try and post the resolution in this topic.

Thanks! JC

Amazing! You can assign a label for a label in the labelFor property. I just didn’t know this was possible. I thought the label could be only assigned to columns or variables.

Servoy… you are cool/easy!

Peter, thanks for your response.

JC

Yes you can but :

  1. There is no getTitleText() on the column-label.
  2. You cant pick that label-name from the pulldown-list at the labelFor property.

Regards,