Skip to content

Sortable property on Column doesn't disable sorting options on UI #179

@luckyabhishek

Description

@luckyabhishek

Hi ,
I am using the datatable in the context of script report erpnext.
I return a couple of columns for my report and I set the "sortable" property on the second one as false.
But I still see that this column is sortable on the UI. is there something I am missing ?

This is what my config for column is

[
		{
			"fieldname": "lead_id",
			"fieldtype": "Link",
			"label": "Lead id",
			"options": "Lead",
			"width": 0
		},
		{
			"fieldname": "creation",
			"fieldtype": "Date",
			"label": "Lead Received Date",
			"sortable": "false"
		}]```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions