Small feature request: kendo.format support for array of values

3 posts, 0 answers
  1. Jaap
    Jaap avatar
    96 posts
    Member since:
    Oct 2012

    Posted 18 Jun 2012 Link to this post

    I want to ask you to add support for this type of call to kendo.format:
        kendo.format('{0} - {1}', [3, 5]);
    Of course this is not useful if you have the parameters in seperate variables.
    But it is useful if you get the format and the parameters from some external source and that delivers the parameters as an array.
    It will be a small change in the kendo.format function. I have changed the first line to this:

    var values = arguments;
    if (arguments.length == 2 && isArray(arguments[1])) {
        values = arguments[1];
    (Perhaps you have better ideas about the implementation, but this is the idea and works for me now)

    Regards, Jaap
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2570 posts

    Posted 18 Jun 2012 Link to this post

    Hello Jaap,

    At present such functionality is not supported in Kendo UI. This idea sounds good and we will appreciate it if you submit this suggestion as a feature request at our UserVoice page. This way the community can evaluate and vote for it. If this idea turns out to be popular, we will consider its implementation for a future releases.

    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Radu
    Radu avatar
    2 posts
    Member since:
    Sep 2012

    Posted 05 Sep 2012 Link to this post

    Thanks for the code! I found your website very interesting!
    ejaculare precoce
Back to Top