Devextreme-reactive: How to add "Rows Selected" to PagingPanel, not outside of Grid?

Created on 15 Jan 2019  路  2Comments  路  Source: DevExpress/devextreme-reactive

  • [x] I have searched this repository's issues and believe that this is not a duplicate.

I'm using ...

  • [x] React Grid
  • [ ] React Chart
  • [ ] React Scheduler

Current Behaviour

I am using this code.

<Paper>
    <Grid>
    ... ...
    </Grid>
    <div>
        <span>Rows Selected: <strong>{selection.length}</strong></span>
    </div>
</Paper>

It shows "Row Selected" div in next row in the PagingPanel.

image

Expected Behaviour

I wanted it shows "Row Selected" in same row with "PagingPanel". so that I can save the space.

Steps to Reproduce (for Bugs)

Environment

dx-react-grid": "1.10.0"
dx-react-grid-material-ui": "1.10.0"

  • react: latest
  • bootstrap: none
  • react-bootstrap: none
    "@material-ui/core": "3.6.0",
Grid question

Most helpful comment

Hi,

You can create a plugin that renders the number of selected rows in the "footer" template. Here is a sample project for your reference.

All 2 comments

Hi,

You can create a plugin that renders the number of selected rows in the "footer" template. Here is a sample project for your reference.

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

slava-lu picture slava-lu  路  3Comments

ProjectaJE picture ProjectaJE  路  3Comments

franklixuefei picture franklixuefei  路  3Comments

bloolizard picture bloolizard  路  3Comments

cavr picture cavr  路  3Comments