You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>.
The text was updated successfully, but these errors were encountered:
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 thestart
attribute andid
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>
.The text was updated successfully, but these errors were encountered: