Telerik Forums
Kendo UI for jQuery Forum
1 answer
113 views

Hi,

Is there any way to set the standard print options like "fitting content to print area" or "standard print page size'" while creating a PDF from the drawing API?

    let pdfOptions = {
        paperSize: 'a3'
        landscape: true,
       

//something like this
      printOptions = {
             fitContentToPrintArea: true,
             paperSize: 'a4'
       }
    };

        kendo.drawing.exportPDF(root, pdfOptions).done(function (data) {
            kendo.saveAs({
                dataURI: data,
                fileName: fileName
            });
        });

 

Neli
Telerik team
 answered on 07 Jun 2023
0 answers
106 views

During try the new version 2023.1.425 mobile listview component, when we  binding data and used the template, we found the prompt data [0]. 

uid is undefined, The old version did not find this problem, the new version of this problem, I do not know why.

see the link

https://dojo.telerik.com/?_gl=1*dxcc66*_ga*MTQyMzc3MjYyLjE2NzgwNzg5MjA.*_ga_9JSNBCSF54*MTY4NjA5NjI4NC4xMC4xLjE2ODYwOTYzMTguMjYuMC4w

dfdf
Top achievements
Rank 1
 asked on 07 Jun 2023
1 answer
180 views

Hi Team,

 we are using kendo UI jquery grid for  displaying the data. In one of the column we have to display date time. is there a way can we filter date and time combined? with date alone we are able to filter but not with date time together. Please let us know and share the code samples/link  if possible

Nikolay
Telerik team
 answered on 06 Jun 2023
1 answer
166 views

I'm trying to display the content of a Kendo UI Grid dataSource schema model field as an HTML hyperlink. However, I'm getting its content as a string instead.

Here is my code:


var initDSStock = [
  {% for ligne in liste_logements %}
    {% set logement = ligne.logement %}
    {
      log_etat_log: 'test'
    },
  {% endfor %}
];

var dataSource = new kendo.data.DataSource({
  pageSize: 25,
  data: initDSStock,
  schema: {
    model: {
      fields: {
        log_etat_log: { template: '<a href="\\#">#= log_etat_log#</a>' }
      },
    },
  }
});

grid.data("kendoGrid").setDataSource(dataSource);

Is that doable? If so, how should I fix my code? Any idea?

Georgi Denchev
Telerik team
 answered on 06 Jun 2023
1 answer
87 views

Hi,

I got specific request that I should highlight week number (and possibly that row) in calendar when user goes on week number with the mouse.
User wants to be able to select whole week in one click.

Can you please advise on approach how to achieve this, since I don't see any "hookable" event that I can use.

 

Thank you very much

Regards,

Vedad

Martin
Telerik team
 answered on 05 Jun 2023
0 answers
110 views

Hi, 

I have one question. Is there a way to achieve "racing" bar chart where bars raise as values changes in the background and  bars "order" is changed based on the value.

I know its a long shot, but maybe there is a usable idea or workaround.

 

Thank you and regards,

Vedad

Vedad
Top achievements
Rank 3
Bronze
Bronze
Iron
 asked on 01 Jun 2023
1 answer
86 views

How do you get the selected items in a Kendo UI for jQuery MultiSelect to stack vertically?

Here's what I'm getting; note that the textbox keeps expanding horizontally as each item is selected:

Here's what I need:

Thank you.

Alex
Top achievements
Rank 1
Iron
Iron
 updated answer on 31 May 2023
1 answer
108 views
How can I set the minimum value to every single chart when I click on each one (in Multi-axis charts) ? 
See My attached picture. 

 
Georgi Denchev
Telerik team
 answered on 31 May 2023
1 answer
101 views

I am migrating an old Silverlight app that uses RadChart. The old chart is combination of column and line types. Please see image (filename: Chart.jpg).

It has this middle vertical line (which is the Actual Mean series/legend) that I am very confuse how to convert to KendoUI. Underneath, it has 2 data point value 0 and 1. The Axis is assign to the right axis. Another question is how it is placed in the middle of the chart with only 2 data points? There is no programmatic manipulation seen on the old code. 

Is this possible to do with Kendo UI chart? I also attached the XAML of the old RadChart in case needed. 

Please help.

Neli
Telerik team
 answered on 31 May 2023
1 answer
133 views

Hello, just started with kendo and angular so this might be a basic question.

I have set up a template for a grid:

<h2>Peoples</h2>
<div class="peoplesOverview">
  <kendo-grid [data]="gridData"
    [scrollable]="'virtual'"
    [pageable]="true"
    [pageSize]="10">
    <kendo-grid-column field="Name" title="Name"></kendo-grid-column>
    <kendo-grid-column field="Title" title="Title"></kendo-grid-column>
  </kendo-grid>
  <kendo-button class="downloadButton">Download</kendo-button>
</div>

 

And in my component.ts I set up a sample dataset to test:

export class PeopleOverviewComponent {

  public gridData: Person[] = [

    {

      Name:"Jane",

      Title: "Worker",

    }

  ];

}

 

Currently this creates a grid with one row, I would like to have the grid be filled in with empty rows to fill the page size to 10.

 

All the help is appreciated!

Martin Bechev
Telerik team
 answered on 30 May 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?