Telerik Forums
Kendo UI for jQuery Forum
4 answers
102 views

Hello,

Auto Expand works normally for all Rows at the same Time.

But what I'm trying to do, is to let the Row in the TimelineWeek-View expand, where there is many Events in one of Rows Cells,

And only That Row should expand !

Is there anyway to achieve that ?

 

I have attached an img where you can see, a Row with only one Event and a Row NO Events have the same Height as the Row With multiple Events.

And That is exactly what I'm trying to avoid.

 

Thanks in Advance

Karam Ramadan

Aleksandar
Telerik team
 answered on 09 Nov 2020
7 answers
4.9K+ views
Hello,

Is there a way to restrict kendo combobox being edited manually but only allow the user to select from the dropdown values. If yes would you give an example in razor please?

I also want to allow the user to edit to a valid date in a kendo datepicker but not any other text. Is that possible?

Thanks
Floris
Top achievements
Rank 1
Iron
 answered on 07 Nov 2020
1 answer
4.7K+ views
I have a kendo grid with a column that has a row template that is a checkbox. When it is selected, it marks that row as selected so that I can operate on a subset of the rows selected by the user.

I wish to place a checkbox in the column header that will check or uncheck every row in the grid.

I have tried adding a headerTemplate with a checkbox but I do not know how to cause it to select all rows.

Also, for some reason the checkbox in the header does not get checked when I click it, instead when I click it, it appears to try to sort the grid (the asc/desc arrows appear on the header cell). I've tried adding `filterable: false` but this still happens.

My grid is below. The column in question is `select_all`

    <div id="PatrolRecords"
            data-filterable='{ "mode": "row" }'
            data-role='grid'
            data-sortable='true'
            data-detail-template='patrolDetailTemplate'
            data-detail-init='detailInit'
            data-bind='source: reportData, events: {excelExport: excelExportHandler}'
            data-bound='onDataBound'
            data-pageable='{ "pageSize": 10 }'
            data-toolbar='[{ template: kendo.template($("#toolbarTemplate").html()) }]'
            data-excel='{ "fileName": "Patrols.xlsx", "allPages": "true" }'
            data-columns='[
                {
                    field: "address",
                    title: "Address",
                    template: kendo.template($("#addressTemplate").html()),
                    filterable: { cell: { operator: "contains" } }
                },
                {
                    field: "end_date_seconds",
                    title: "Date & Time",
                    template: kendo.template($("#dateTemplate").html()),
                    filterable: false
                },
                {
                    field: "patrolled_by",
                    title: "Patrolled By",
                    filterable: { cell: { operator: "contains" } }
                },
                {
                    field: "select_all",
                    width: 35,
                    headerTemplate: "<input type=\"checkbox\" id=\"chkAll\" />",
                    template: "<input type=\"checkbox\" class=\"check_row\" />",
                    filterable: false
                }
            ]'>
        </div>
Kamaraj
Top achievements
Rank 1
Veteran
 answered on 07 Nov 2020
2 answers
132 views

 

I checked the documentation for the API and am utilizing the open method

However when opening the calendar popup this way the keyboard navigation no longer works.  The only way to select a date seems to be via mouse click.

 

The issue is re-creatable on the demo example below

https://docs.telerik.com/kendo-ui/api/javascript/ui/datepicker/methods/open

I have found I can programatically set a kind of focus using the code

setTimeout(function () {
                 var ev = $.Event("keydown");
                   ev.keyCode = 39;
                      $("#FromDate").trigger(ev);
}, 100);

 

But after this the keyboard navigation is still not active.

Is there a way to make this work?

 

 

james
Top achievements
Rank 1
 answered on 06 Nov 2020
6 answers
160 views

I have added some fields with caption names like this:
location: { caption: "Butik" }
but the problem is that its not used for grouping
it seems like a bug to me, is there way around it? 

https://stackoverflow.com/questions/31749074/kendo-pivotgrid-translation-bug

Tsvetomir
Telerik team
 answered on 06 Nov 2020
1 answer
105 views

While re-ordering columns in Chrome 100% zoom.   Telerik v 2020.2.512.0   Javascript error: Cannot read property '_owner' of null     at Telerik.Web.UI.GridColumn._onMouseUpHandler 

is failing on line 45152  if (d != null && this._canDragDrop && !j._owner._isResize) Telerik.Web.UI.WebResource

Any ideas?  Of where to look for the cause. 

 

Tsvetomir
Telerik team
 answered on 06 Nov 2020
1 answer
105 views

     Hi team,

 

The edit zone of the view html dialog does not fit the width of that dialog and cannot be resized.

 

Best regards.

 

Laurent.

Aleksandar
Telerik team
 answered on 06 Nov 2020
1 answer
1.3K+ views

Hello, 

 

Is it possible to add a textbox dinamically, by clicking a button?

I have the following code, and I need to add a textbox, just like the one I already have when click the "Add Button"

 

01.<!DOCTYPE html>
02.<html>
03.<head>
04.    <meta charset="utf-8"/>
05.    <title>Kendo UI Snippet</title>
06. 
08. 
09.    <script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
12.</head>
13.<body>
14.   
15.    <div>
16.      <input id="textbox" style="width: 100%;" />
17.      <input type="button" id="add" value="Add TextBox" class="k-button"/>
18.    </div>
19.    <script>             
20.                $(document).ready(function () {
21.           $("#textbox").kendoTextBox({
22.               placeholder: "email@email.com.br",
23.                label: {
24.                    content: "Email",
25.                    floating: true
26.                }
27.             });
28.          })
29.    </script>
30.</body>
31.</html>

Stoyan
Telerik team
 answered on 05 Nov 2020
1 answer
267 views

Hi

Do have facility for print(Export to PDF) Gantt chart in to PDF with multiple pages.

One of our client want this feature.

 

Regards

mamachan

Ivan Danchev
Telerik team
 answered on 04 Nov 2020
1 answer
172 views

How to truncate chart title if text is too long also once text is truncate show full text on mouse over or show in tooltips.

https://dojo.telerik.com/IRaJuJiH

Tsvetomir
Telerik team
 answered on 04 Nov 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?