Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabulator - How to disable column extensions #485

Open
JaneSjs opened this issue Oct 29, 2024 · 0 comments
Open

Tabulator - How to disable column extensions #485

JaneSjs opened this issue Oct 29, 2024 · 0 comments
Labels
documentation user issue An issue or bug reported by users

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented Oct 29, 2024

T20492 - Remove ability to move column to detail / reduce column width
https://surveyjs.answerdesk.io/internal/ticket/details/T20492


TableExtensions.registerExtension({
location: "column",
name: "movetodetails",
visibleIndex: 3,
render: function (table: Table, options: any) {
const button = DocumentHelper.createSvgButton("movetodetails");
button.title = localization.getString("moveToDetail");
button.onclick = (e) => {
e.stopPropagation();
table.setColumnLocation(options.columnName, QuestionLocation.Row);
};
return button;
},
});

@JaneSjs JaneSjs added documentation user issue An issue or bug reported by users labels Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation user issue An issue or bug reported by users
Projects
None yet
Development

No branches or pull requests

1 participant