JavaScript/jQuery Markup Components Item
Type:
The dxItem component defines custom markup for items in layout and collection widgets. dxItem has different options depending on the widget where it is used. For a full list of them, see the items option description in a specific widget's API Reference.
HTML
JavaScript
- <div id="list">
- <div data-options="dxItem: { text: 'Apples', disabled: true }"></div>
- <div data-options="dxItem: { text: 'Lemons', visible: false }"></div>
- <div data-options="dxItem: { }">
- <!-- Custom markup -->
- </div>
- </div>
- $(function() {
- $("#list").dxList({/* ... */});
- });
NOTE
dxItem elements are ignored when the dataSource option is defined.
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.