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

Add clickable row option for grid actions #15859

merged 6 commits into from Oct 11, 2019

Add position column clickable, add feature in Cms page list

  • Loading branch information
jolelievre committed Oct 11, 2019
commit ac309177ae124c335bd239cbb29c7d0fa9804468
@@ -71,7 +71,7 @@ export default class LinkRowActionExtension {
* Only search for cells with non clickable contents to avoid conflicts with
* previous cell behaviour (action, toggle, ...)
const clickableCells = $(', td.identifier-type, td.badge-type', $parentRow)
const clickableCells = $(', td.identifier-type, td.badge-type, td.position-type', $parentRow)

@@ -87,6 +87,7 @@ $(() => {
cmsGrid.addExtension(new SubmitBulkExtension());
cmsGrid.addExtension(new SubmitRowActionExtension());
cmsGrid.addExtension(new PositionExtension());
cmsGrid.addExtension(new LinkRowActionExtension());

const helperBlock = new ShowcaseCard('cms-pages-showcase-card');
helperBlock.addExtension(new ShowcaseCardCloseExtension());
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.