Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #99579
    admin
    Keymaster

    Hi all !
    Can tell me please how can i change the label of the progress bar ? I want to print a specific word instead of a number inside the progress bar’s value container. Code snippet please.
    Thank you !

    #99581
    admin
    Keymaster

    Hello hansT,
    Please make use of the callback function format-function to achieve your requirement:

    <script type="text/javascript">
        function progressValueFormatFunction(value) {
            return 'Progress label';
        }
    </script>

    <jqx-progress-bar value="50" show-progress-value format-function="progressValueFormatFunction"></jqx-progress-bar>
    Best regards,
    Dimitar
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.