Skip to content

Create an instace of a detailed grid to be used in another master dialog #7305

Discussion options

You must be logged in to vote

create another tsx file

import { Decorators } from "@serenity-is/corelib";
@Decorators.registerEditor('Test2Editor')
export class Test2Editor extends Test1Editor {

protected getColumns() {
    var columns = super.getColumns();
    //Hide fields
   columns = columns.filter(x => x.field != "Some field")
    return columns;
}

}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@arunkumar12712
Comment options

Answer selected by flashyjunior
@flashyjunior
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants