wijmo.grid.wijgrid Namespace > options type : readAttributesFromData Option |
Default value: false
A value indicating whether DOM cell attributes can be passed within a data value.
Javascript (Usage) | |
---|---|
$(function () { // Get value var returnsValue; // Type: bool returnsValue = $(".selector").wijgrid("option", "readAttributesFromData"); // Set value var newValue; // Type: bool $(".selector").wijgrid("option", "readAttributesFromData", newValue); }); |
Javascript (Specification) | |
---|---|
|
// Render the style attribute passed within the data. $("#element").wijgrid({ readAttributesFromData: false }); data: [ [ [1, { "style": "color: red" } ], a ] ] });