Telerik Forums
Kendo UI for jQuery Forum
11 answers
3.4K+ views
I am creating a window as shown below:

$("#wnd" + uniqueId).kendoWindow({
                       actions: ["Refresh", "Maximize", "Minimize", "Close"],
                       draggable: true,
                       height: Height + "px",
                       modal: false,
                       resizable: true,
                       title: Title,
                       width: Width + "px",
                       content: NavURL,
                       iframe: true
                   });

But how can I close this window from a button on the content that is on the NavURL?
Dimo
Telerik team
 answered on 24 Apr 2020
3 answers
214 views

HI,

 

Attached an image of how my cell looks. changed the icon of filter, but on click of it the filter drop down doesn't open. When i click on right-top (even if this is blank space) it opens.

Rumen
Telerik team
 answered on 24 Apr 2020
1 answer
1.3K+ views

Hi, I made the sub grid detailInit method but I need an ajax request to the server rather then simple method call

The detailInit method:

detailInit(e) {
        $("<div/>").appendTo(e.detailCell).kendoGrid({
            dataSource: {
                transport: {
                    read: function (readOptions) {
                        debugger;
                        var parameters = {
                            Filter: {
                                FileId: e.data.Id
                            },
                            Skip: readOptions.data.skip ? readOptions.data.skip : 0,
                            Take: readOptions.data.take ? readOptions.data.take : Page_Size
                        };
 
                        return $.ajax({
                            type: "POST",
                            url: "/ImportingStatusReport/GetImportStatusEntityData",
                            contentType: "application/json; charset=utf-8",
                            data: (kendo.stringify({ filter: parameters })),
                            cache: false,
 
                            success: function (returnData) {
                                debugger;
                                readOptions.success(returnData);
                            }
                        });
                    },
                },
                schema: {
                    data: "Data",
                    total: "Total",
                },
                serverGrouping: true,
                serverPaging: true,
                serverSorting: true,
                pageSize: 10,
                filter: { field: "FileId", operator: "eq", value: e.data.Id }
            },
            scrollable: false,
            sortable: true,
            pageable: true,
            columns: [
                { field: "RecordType", title: "Record Type", width: "110px" },
                { field: "ImportStatus", title: "Import Status", width: "110px" },
                { field: "ImportErrors", title: "Import Errors", width: "110px" },
            ]
        });
    }
 

I get data from the backend to the success method but the data isn't displayed on the UI. The sub table is empty. What can be causing this and where to look for the error?

Alex Hajigeorgieva
Telerik team
 answered on 24 Apr 2020
11 answers
3.1K+ views
Hello,

I was wondering, is there a out of the box way to setup a template that would be shown only if the listview is empty. For instance lets say we have a product list with search. If you search something that matches no results now my listview area would be empty. I want it to display nice big letters saying "No products match your search".

One way I thought I could do this is to have two divs. One with the listview and another one with this message and bind them to a visible / invisible view model property that shows the product data source item count. That way the listview would be shown when there are products, and the message would be shown when the count is at 0.

I guess it would work, but seems rough. Is there a better way or should I stick to my idea?
Alex Hajigeorgieva
Telerik team
 answered on 24 Apr 2020
1 answer
235 views

I'm following along with the Grid inline edit demo and trying to create a new record, saving it to the locals serer via Web API. When Create, then Save the new record, nothing happens. The grid mode doesn't change out of Create mode. The Create function on my server never gets called. The savechanges event does fire. I've tested my Web API create function with Postman and it seems to work. Attached is a VS project with web page and server.

Thanks, Mark

Alex Hajigeorgieva
Telerik team
 answered on 24 Apr 2020
2 answers
334 views

Hi, we are working with Kendo.MVC.Q3.2018.

the requirement to visualize excel spreadsheets arised. I tried to follow this example: https://docs.telerik.com/aspnet-mvc/html-helpers/data-management/spreadsheet/spreadsheet-processing#load-data-from-external-file

 

but I can't find a reference to class Telerik.Web.Spreadsheet.Workbook. 

can you confirm if is that part of Kendo.MVC.Q3.2018 or separate product?

 

regards

Gerardo
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 23 Apr 2020
1 answer
222 views

Can we dynamically lock and unlock the columns? Is it possible to have an indicator (like an icon next to a title) that the column is currently locked?

 

Thanks

Ivan Danchev
Telerik team
 answered on 23 Apr 2020
1 answer
272 views

What kind of formatting is implemented for multi language applications? The fundamental problem we are having is that different languages have considerably different lengths of column names. What's available to avoid the hard widths for column titles? 

 

Thanks

Ivan Danchev
Telerik team
 answered on 23 Apr 2020
6 answers
553 views

Hi,

I am aware that hideColumn/showColumn is not current option for gantt widget, but I need to provide different views of columns based on user preferences (click on menu). Also, I already upvoted feature request.

Is there any reasonable way to do this beside deleting and redrawing complete gantt with different settings.

Use case is something like:

Default view contains Title, Start, End

View One contains: Title, Start, End, Percent

View Two contains: Title, Percent 

When I click button "View One" it simply adds column percent to the view (data is present in datasource).

 

Thank you and regards.

 

Ivan Danchev
Telerik team
 answered on 23 Apr 2020
1 answer
205 views

I've got a grid with a child grid. I'm trying to provide edit functionality for the child grid. Add and Update functions don't work. When I press the Save button nothing happens. I noticed a knowledge base post discussing how to do this. We'll its not really a discussion just some code with a title but no description of what's going on. Reading the code it seems like there can be a binding issue with the parent grid. I implemented the same code in my grids and it made no difference. I removed what I thought was the code to help the binding problem from the sample and I can't see any difference in the operation of the girds. I'm wondering if someone could clue me in here? May this issues was fixed recently and I'm looking at an out dated article in the knowledge base, or, of course I could have screwed something up.

Here's the link to the knowledge base article.

https://docs.telerik.com/kendo-ui/knowledge-base/edit-master-row-data-in-detail-template

Here's a link to code where I attempted to remove the code for the parent table binding issue.

https://jsfiddle.net/6afd93pn/

Tsvetomir
Telerik team
 answered on 23 Apr 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?