Edit this page

value

Gets/Sets the value of the barcode.

Example

<div id="barcode"></div>
<script>
$('#barcode').kendoBarcode({
    width: 300,
    value: "123456"
});
// get a reference to the barcode widget
var barcode = $("#barcode").data("kendoBarcode");

// get the value of the barcode.
var value = barcode.value();
console.log(value);

// sets the value of the barcode and redraws it.
barcode.value("1234567");
</script>

Parameters

value Number | String

The value to set.

Returns

String The value of the barcode.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy