GridColumn.sort does not exist

Hi,

I’ve recently updated to a local copy of gantt_8.0.1_enterprise. I’m updating some typing references, and have cleaned up most of them. The remaining few to fix are throwing an error stating “…‘sort’ does not exist in type ‘GridColumn’”.
This wasn’t an issue for v7.1.9, and I’m still seeing dhtmlx gantt docs referencing this property to “specify a custom sorting rule for each particular column”. Sorting Columns Gantt Docs

Are the docs out of date or is the dhtmlxgantt.d.ts for v8.0.1 missing a typing for this? Or is there something else I’m missing?

Hello Paul,
Thank you for letting us know about the issue.

The file and the documentation don’t list that property:
https://docs.dhtmlx.com/gantt/api__gantt_columns_config.html
It will be added to the documentation and the typings file in the next update. But surely, that property exists and working.

Before that is fixed, you can add these lines to the typings file:

	/* sort property */
	sort?: string | boolean | ((a: Task, b: Task) => number),

Hello Paul,
The dev team fixed the types for the GridColumn, Empty State Screen, getResourceAssignments features:
https://docs.dhtmlx.com/gantt/whatsnew.html#x6629x80x6630x:~:text=Type%20definitions%20are%20updated