Telerik Forums
Kendo UI for jQuery Forum
11 answers
2.5K+ views

Hello ..

I made the kendo Grid widget.

How to adjust the number of lines per page to the current height of the hang and height of the entire grid object?

And how will this change when the height of the grid object changes?

PaweÅ‚ 

Nikolay
Telerik team
 answered on 04 Jun 2020
2 answers
77 views

Hi, we updated our kendo version to the latest, and we found something strange.

I know, it's our fault, we shoud not "re-create" a kendo item, but we should check for widgetInstance, or .data("kendoxxx") before creating it.

But, in the previous version, we did not have that bug.

I think that you try to do your best to give us in return the previous instance if it already exists, but in that case, you did something more.

Look at this.

https://dojo.telerik.com/@foxontherock/eCiRiFaZ

If I use setOptions ( in button click), no issue.

If I use kendoListView, to "re-create" it (in fact I don't want it to be re-created, but anyway...) it looks fine, but if you "inspect element", you will see an empty "k-listview-content" generated every time.

We adjust our code to check if the component is already created before creating it.  

But I take time to mention it to you, because in the previous version, it was working without problems, when we tried to re-create a component by mistake.

 

Frederic
Top achievements
Rank 1
Veteran
Iron
 answered on 03 Jun 2020
7 answers
967 views

Hi,

I have a grid that can be modified incell and in one of my cell, I have an editor that creates a dropdowntree. When i want to select an element of the dropdowntree it trigger the select event but not the change event and doesn't go in the save of my grid.

 

The dojo link will show you the problem

https://dojo.telerik.com/uSULOkUc

 

Please let me know if you have any fix for this.

Thanks.

Veselin Tsvetanov
Telerik team
 answered on 03 Jun 2020
11 answers
2.0K+ views
Hi,
We are using AntiForgeryToken in our application. For normal Ajax post currently we are using extension method for Ajax.BeginForm as follows:
 

public static MvcForm BeginForm(this AjaxHelper ajaxHelper, HtmlHelper htmlHelper, AjaxOptions ajaxOptions, bool addAntiForgeryToken = true, string actionName = null, string controllerName = null,
            object routeValues = null, object htmlAttributes = null)
        {
            return htmlHelper.BeginFormWithAntiForgery(
                () => ajaxHelper.BeginForm(actionName, controllerName, routeValues, ajaxOptions, htmlAttributes),
                addAntiForgeryToken);
        }

private static MvcForm BeginFormWithAntiForgery(this HtmlHelper htmlHelper, Func<MvcForm> formFunc, bool addAntiForgeryToken)
        {
            var form = formFunc();

            if (addAntiForgeryToken)
                htmlHelper.ViewContext.Writer.Write(htmlHelper.AntiForgeryToken().ToHtmlString());

            return form;
        }

Whenever Kendo grid is posting an Ajax request can we use the above extension method because this is the common code we have written. Seems like Kendo has its own way of sending an Ajax Request, how can we do changes in that. We want to do changes in the common method so that everything works fine.
Alex Hajigeorgieva
Telerik team
 answered on 03 Jun 2020
1 answer
369 views
As you can see in this Dojo example, I have a stacked bar chart with a line on the top in another series.  If I remove the line, the chart does not have the unwanted white space.  How do I keep the line, but have the chart formatted like this.
Nikolay
Telerik team
 answered on 02 Jun 2020
3 answers
1.3K+ views

Is there a list somewhere of the items that are not possible with a dialog that would be possible with a window?

...or some sort of decision tree as to when to use a window and when to use a dialog?

Aleksandar
Telerik team
 answered on 02 Jun 2020
1 answer
58 views

so i have some data to be represented in a grid. Product list basically.

each product can have different types. enabling toggle to be given in the grid itself. only one type of service can be selected per product.

if i have 3 rows for a product, do we have any functioanlity that gives me this feature in kendo to enable only 1 of them at a time?

Veselin Tsvetanov
Telerik team
 answered on 02 Jun 2020
1 answer
76 views
when i add time line in 1600, and repeat it in mo, tu, we, th,
the weekview will show the slot in wrong place, please fix it. 
Dimitar
Telerik team
 answered on 02 Jun 2020
2 answers
182 views

Hi,

I wanted to use the Window functionality and sometime use the maximize method on it. The target browser for the application is IE11. But I have discovered that the maximize of the window does not work in a special case

Here is a demo and the steps to reproduce the bug

https://runner.telerik.io/fullscreen/IPapI/2

1. Open the above demo in IE11

2. Close the kendo window.

3. Resize the browser window so that you have scroll in the demo

4. Refresh the browser

The kendo window is not fully maximized.

Probably the Width of window fully maximized I might get, but why is the Height of window smaller?

mamad
Top achievements
Rank 1
 answered on 02 Jun 2020
1 answer
87 views

Hello,

 

It seems chart seriesDefaults.labels.position property is missing from typescript definition:

docs: https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/seriesdefaults.labels.position

 interface ChartSeriesDefaultsLabels {
        background?: string;
        border?: ChartSeriesDefaultsLabelsBorder;
        color?: string;
        font?: string;
        format?: string;
        margin?: number | ChartSeriesDefaultsLabelsMargin;
        padding?: number | ChartSeriesDefaultsLabelsPadding;
        rotation?: string|number;
        template?: string|Function;
        visible?: boolean;
        visual?: Function;
        from?: ChartSeriesDefaultsLabelsFrom;
        to?: ChartSeriesDefaultsLabelsTo;
    }

Georgi
Telerik team
 answered on 01 Jun 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?