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

Table Grouping showing checkbox instead of dropdown carat #933

Open
latha-karbonhq opened this issue Jan 28, 2022 · 2 comments
Open

Table Grouping showing checkbox instead of dropdown carat #933

latha-karbonhq opened this issue Jan 28, 2022 · 2 comments

Comments

@latha-karbonhq
Copy link

latha-karbonhq commented Jan 28, 2022

I have a simple table with children like shown in the docs: https://opensource.addepar.com/ember-table/docs/guides/body/rows-and-trees.
What I expected was the table with grouping and dropdown carat to indicate the expand / collapse state. but what I see is like this:
image

Clicking on the checkbox does collapse and expand, but what I want is an inline dropdown carat instead of checkbox

My code:

<EmberTable as |t|>
    <t.head @columns={{this.columns}} @widthConstraint='gte-container' as |h|>
      <h.row as |r|>
        <r.cell as |column|>
          {{column.name}}
        </r.cell>
      </h.row>
    </t.head>

    <t.body @rows={{this.rows}} as |b|>
      <b.row as |r|>
        <r.cell as |value|>
          {{value}}
        </r.cell>
      </b.row>
    </t.body>
  </EmberTable>
@latha-karbonhq
Copy link
Author

Is there any prop that I am missing?

@latha-karbonhq
Copy link
Author

Seeing this PR: https://github.com/Addepar/ember-table/pull/532/files seems like this is how it is modified, How can I overwrite this checkbox to dropdown carat?

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

No branches or pull requests

1 participant