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

CListView - allow changing items container to <ol> with custom htmlOptions OR allow to disable rendering of items container tag #3232

Closed
Leffe108 opened this issue Feb 17, 2014 · 0 comments

Comments

@Leffe108
Copy link

It is currently not possible to change CListView to use <ol><li></li></ol> for items if you also want to set other properties of <ol> than the class. For example in my project we want to set the start attribute and id of <ol>.

Using the template parameter it is possible to render a container tag at any way you like, however I cannot see a way to disable the default container <div>. So either the default container needs to gain an htmlOptions parameter so it can be configured or a way to disable rendering of it at all to not have a DOM node between <ol> and <li>.

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

No branches or pull requests

2 participants