Telerik Forums
Kendo UI for jQuery Forum
8 answers
866 views

Hi,

I need Treelist Filter to show Parent row along with all its child nodes. Is this possible?

Appreciate any help.

 

Thanks,
Sanjay

Alex Hajigeorgieva
Telerik team
 answered on 26 Oct 2020
3 answers
70 views

How can I change the list of fields which will be included in the search of the grid after initialization? During the initialization you only have to define the search.fields configuration option, but apart from that it seems that it is not possible to change the list after the grid has been initialized. 

On the select event of a kendoDropDownList, I was hoping of calling something like the following and with that limiting the search only in the selected column of the grid:

$("#dropdownlist").kendoDropDownList({
  ...
  select: function(e) {
    jq("grid_id").data("kendoGrid").search.fields( [ option1 ] );
  },
  ...
});

 

Ivan Danchev
Telerik team
 answered on 26 Oct 2020
1 answer
1.4K+ views

Hi,

I have an issue when exporting the grid's content into PDF as rows which contain long texts appear cut off within the same page in the generated PDF. 

This is my current pdf grid configuration:

       pdf: {
            fileName: "myfile.pdf",
            allPages: true,
            paperSize: "A3",
            margin: { top: "2cm", right: "0.5cm", bottom: "1cm", left: "0.5cm" },
            landscape: true,
            scale: 0.8
        }

 

 

 

Is there any way to configure the kendo grid in order to export the full content of a row in many pages to avoid cutoffs?

 

Thanks.

Carlos

Veselin Tsvetanov
Telerik team
 answered on 23 Oct 2020
3 answers
187 views

Hello,

I have a problem with reloading data in my Kendo Treelist.

I have a div <div id="#treeview-div"></div>

when I bind data, I call LoadData function.

When I call the function for the 1° time, all works well.

When I call the function for the 2° time, hiearchical row doesn't work.

 

How can I clear my div and rebind without issue?

 

Thanks

LoadData = function (dati)
{
     
    $("#treeview-div").empty();
 
     
             
    dati.schema = {};
    dati.schema.model = {};
    dati.schema.model.id = "id";
    dati.schema.model.expanded = false;
    //
    var dataSource = new kendo.data.TreeListDataSource(dati);
                         
             
             
           $("#treeview-div").kendoTreeList({
                        dataSource: dataSource,
                        height: 600,
                        columns: [
                            { field: "DataOra" },
                            { field: "Attivita" },
                            { field: "Progetto" }
                        ]
                    });
}
Anton Mironov
Telerik team
 answered on 23 Oct 2020
8 answers
751 views
Hi,

Just wondering if anyone knows how I can catch a click event when a user clicks on a marker. There are click and shapeClick events but dosent seem to be a marker specific event.

Any suggestions greatly appreciated.

Cheers,
M
Preslav
Telerik team
 answered on 23 Oct 2020
5 answers
373 views
How can we add the checkbox filtering found in Grid to a Treelist?
Anton Mironov
Telerik team
 answered on 23 Oct 2020
3 answers
183 views

I'm using a listview with a pager. On my first test page, with nothing else on the page, it shows up correctly:
http://galcott1.com/comfitlabs/products.html

However, when I incorporate it into this page with more content, the display of the number of records doesn't show.

http://galcott1.com/comfitlabs/test2.html
 (click PRODUCTS on the top menu to see the listview)

In case it matters, on the second page the section with the listview (divProducts) is initially hidden when the page loads. It is shown when you click Products on top or make a selection from the category menu (which isn't working yet). I have had some issues with other jQuery plugins that are initially hidden so I'm wondering if that has something to do with it. If not, then what would cause this issue?


Eyup
Telerik team
 answered on 23 Oct 2020
3 answers
1.9K+ views

Currenty i'm using kendo grid server site pagination and there is a problem with page size property. When i choose page size 'all' then i check request body on the web browser and i don't see pageSize property  but when i choose 50 page size everything is OK.

{skip: 0, page: 1, sort: [{field: "Id", dir: "desc"}]} --> page size ALL

{skip: 0, pageSize:50,  page: 1, sort: [{field: "Id", dir: "desc"}]} --> page size 50

 

 

 

 var dataSource = new kendo.data.DataSource({
            type: "json",
            ...
            batch: false,
            pageSize: 20,
            serverPaging: true,
            serverFiltering: true,
            serverSorting: true, 
            schema: {
                data: "Data",
                total: "Total",
                errors: "Errors",
                model: {
                    id: "Id",
                    fields: fieldsCommon
                }
            }
        });

        var masterGrid = $("#" + divId).kendoGrid({
            dataSource: dataSource,
            edit: function (e) {

            },
            save: function (e) {
                kendo.ui.progress($(".k-window"), true);
            },
            groupable: true,
            sortable: true,
            pageable: {
                pageSizes: ['all', 10, 20, 50, 100],
                refresh: true,
                buttonCount: 5
            },
            selectable: true,
            height: 450,
            reorderable: true,
            resizable: true,
            columnMenu: false,
            columns: [
             ...
            ]
        }).data("kendoGrid");

Georgi
Telerik team
 answered on 23 Oct 2020
15 answers
939 views

Hello.

I am looking for way to manage resize columns by user in Angular 2 application. I saw in another versions of KendoUI Grid (for example in AngularJS) that this is possible but I can't find any solution for that in Angular 2 technology. Are you support that or it will be added later?
Also I thinking about reorder columns. And like in last question, I saw in another versions of KenduUI that this feature is implemented but I can't find any way to do that in Angular 2? Should I wait for next versions of Kendo or there is simple way to make it on my own now? Thank you for any answers.

Dimiter Topalov
Telerik team
 answered on 23 Oct 2020
3 answers
532 views
I am trying to dynamically nest grids within a kendo grid, up to 10 levels deep. Is there a good approach you can recommend to dynamically nest the ng-template data so it doesn't look bloated? This is only three hardcoded levels of nesting and already is bloated.  Thanks in advance!
<kendo-grid>
  <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
  <ng-template kendoGridDetailTemplate let-dataItem>
    <kendo-grid>
      <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
      <ng-template kendoGridDetailTemplate let-dataItem>
        <kendo-grid>
          <kendo-grid-column field="ProductID" title="ID" width="40"></kendo-grid-column>
          <ng-template kendoGridDetailTemplate let-dataItem>
          </ng-template>
        </kendo-grid>
      </ng-template>
    </kendo-grid>
  </ng-template>
</kendo-grid>
Hetali
Telerik team
 answered on 22 Oct 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?