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

Pagination plugin should support external XHTML templates #10

Open
sensimevanidus opened this issue Oct 3, 2011 · 4 comments
Open

Pagination plugin should support external XHTML templates #10

sensimevanidus opened this issue Oct 3, 2011 · 4 comments

Comments

@sensimevanidus
Copy link
Collaborator

Users should be able to create XHTML templates for the paging feature and pass them to the paginator plugin; hence they can use customized views instead of the default one.

@laplacesdemon
Copy link
Owner

I believe they are able to customize the pagination behavior. As you can see from the test page the pagination behavior has encapsulated by a plugin. You can develop your own plugin and register to the XGrid.

https://github.com/laplacesdemon/XGrid/blob/master/tests/XGrid/PaginationTest.php

there are also some scrolling styles that you might want to override but I don't remember the details. maybe the thing you are looking for is the scrolling styles?

@sensimevanidus
Copy link
Collaborator Author

What I was trying to accomplish is changing the Next and Previous strings actually. I saw that they are directly written in a private method called prepareHTML I guess. I think the default paginator should support such a configuration. Creating a new plugin just for changing those strings looks unnecessary. What do you think?

@laplacesdemon
Copy link
Owner

You right, I guess that one is my laziness. So may be you can modify the file accordingly since I am not available to do it right now.

@sensimevanidus
Copy link
Collaborator Author

And that's why I'd assigned the issue to myself. :)

On Tue, Oct 4, 2011 at 12:55 PM, Suleyman Melikoglu <
reply@reply.github.com>wrote:

You right, I guess that one is my laziness. So may be you can modify the
file accordingly since I am not available to do it right now.

Reply to this email directly or view it on GitHub:
https://github.com/laplacesdemon/XGrid/issues/10#issuecomment-2284358

Onur Yaman

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

No branches or pull requests

2 participants