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

How to add "Rows Selected" to PagingPanel, not outside of Grid? #1770

Closed
2 of 4 tasks
lin-zy1229 opened this issue Jan 15, 2019 · 2 comments
Closed
2 of 4 tasks

How to add "Rows Selected" to PagingPanel, not outside of Grid? #1770

lin-zy1229 opened this issue Jan 15, 2019 · 2 comments
Assignees
Labels
Grid The DevExtreme Reactive Grid component question

Comments

@lin-zy1229
Copy link

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

I'm using ...

  • 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",
@ushkal ushkal self-assigned this Jan 16, 2019
@ushkal
Copy link
Contributor

ushkal commented Jan 16, 2019

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.

@churkin churkin closed this as completed Jun 6, 2019
@MaximKudriavtsev MaximKudriavtsev added the Grid The DevExtreme Reactive Grid component label Jun 6, 2019
@lock
Copy link

lock bot commented Jun 16, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Grid The DevExtreme Reactive Grid component question
Projects
None yet
Development

No branches or pull requests

4 participants