Telerik Forums
Kendo UI for jQuery Forum
1 answer
92 views
Hello Telerik Community,
I am currently working on a project which has a usecase as shown in image. The data is present in JSON which is rendered as in image. On Click of "+" button, i can add new Action just below the arrowhead of the "+" button. I was wondering if this use case is solvable using KendoReact ?
Any help would be highly appreciated.
Stefan
Telerik team
 answered on 01 Jul 2020
2 answers
700 views

Is there a way to assign an ID to a selectable column? Using Test Studio, it is a real challenge without writing code, to identify which columns was clicked as when you have multiple rows, they all have no ID (or any other way to identify them). Having an ID would fix that and if these columns would actually allow a template - which it seems they do not - we could do other nice things, icluding IDs

 

Matt

Matt
Top achievements
Rank 1
Veteran
 answered on 30 Jun 2020
4 answers
292 views

Hi, 

I think there is a bug on Gantt widget that occurs depending either on screen size/resolution or chrome zoom level. 

I got bug reported on my module which uses gantt widget. Client reported that on some of their screens rows on the left side are misaligned with rows on timeline.

After investigation, I managed to reproduce issue by scaling zoom on Chrome, to 90%. (they have bigger and probably better screens than mine, so it wasn't shown on my system). 

Same issue is reproducible on https://demos.telerik.com/kendo-ui/gantt/resources, if you resize gantt zoom to 90%. (I also attached image from demo)

I also looked though to find possible solution, and it seems that if we replace current fixed font-size: 14px, with font-size:1.5vh it seems to scale correctly.

Please could you take a look and suggest solution (I would prefer to avoid overriding native css of the widget).

Thank you and best regards,

Vedad

Veselin Tsvetanov
Telerik team
 answered on 30 Jun 2020
13 answers
1.7K+ views

As posted on stack overflow ...

    https://stackoverflow.com/questions/61956516/how-to-apply-complex-odata-filters-programatically-with-kendo-data-sources


I have a kendo data source that's bound an OData v4 endpoint.

I need to apply something like this filter to it ...

LINQ query:
ds.data().Where(i => i.References.Any(r => r.OfferLines.Any(l => l.OfferId == "myOfferId"))

OData query:
?$filter=References/any(r:r/OfferLines/any(l:l/OfferId eq 'myOfferId'))

How can i do this "after my grid has been initialised" programatically (with javascript)?

Petar
Telerik team
 answered on 30 Jun 2020
1 answer
219 views

hello,

i used ddl with taghelper

  <kendo-dropdownlist for="EmlakBinaBeyan.YeniBinaIndirimiUygulandiMi"
                                                                        bind-to="Html.GetEnumSelectList(typeof(EvetHayirEnum))"
                                                                        readonly="readonly"
                                                                        class="form-control form-control-sm"
                                                                        style="width:100%">

  </kendo-dropdownlist>

this generate ID with comma.

<input data-val="true" data-val-required="The KisitlilikVarMi field is required." id="EmlakBinaBeyan.KisitlilikVarMi" name="EmlakBinaBeyan.KisitlilikVarMi" type="text" value="0" data-role="dropdownlist" style="display: none;">

 

but i used ddl with html helper, also same code

                                                    @(Html.Kendo().TextBoxFor(x => x.EmlakBinaBeyan.ArsaNetM2).HtmlAttributes(new { @class = "form-control form-control-sm text-lg-left text-muted", @readonly = "readonly" }))

this generate ID with underline

<input type="text" data-val="true" data-val-required="The KisitlilikVarMi field is required." id="EmlakBinaBeyan_KisitlilikVarMi" name="EmlakBinaBeyan.KisitlilikVarMi" value="Hayir" data-role="dropdownlist" style="display: none;">

 

so, same code tag helper and html helper generate different Id. I want take value with jquery selector, i cant take value with taghelper, but i can take value with html helper .

var dropdownlist22 = $("#EmlakBinaBeyan_KisitlilikVarMi").data("kendoDropDownList");

 

why generated different Id ?

 

Best Regards.

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 30 Jun 2020
2 answers
3.5K+ views
Hi

I create a window, which I would like to destroy after closing, but I cannot get it to work.

I have found various hints in the forum, but if I implement them, the window keeps coming back after refreshing the screen (ie performing a feedback).

The code which I use to initialize the window is pretty standard:
		<script type="text/javascript">
	 $(document).ready(function () {
		$('#windows').css('z-index', 9000);
		$("#Payment").kendoWindow({
			actions: [ "Maximize""Minimize""Close"],
			draggable: true,
			height: "600px",
			modal: false,
			resizable: true,
			title: "<%=ViewData("paymentenginetext")%><%=  ViewData("invoicenr")%>",
			width: "810px"
		}); 
		var kendoWindow = $("#Payment").data("kendoWindow");
        kendoWindow.center();
	});
	</script>

The way to destroy the window is to perform the function destroy at deactivation, but where and how do I put this in my code?

KR

Henk Jelt Hoving 
Ivan Danchev
Telerik team
 answered on 29 Jun 2020
1 answer
133 views

Hi Admin,

Kendo release new wizard component, I have one question regarding this component.

How can i add tabstrip in wizard and also please let me know how can i validate both tabs with fields.

 

Neli
Telerik team
 answered on 29 Jun 2020
4 answers
1.4K+ views
What is the best way to align an icon to the right of a button? Is there a built in way or do I need to add my own span for the icon and align it with CSS?

Regards
Dean
Igor
Top achievements
Rank 1
 answered on 26 Jun 2020
1 answer
103 views

hi, 

i would like to know whether the kendo scheduler consider/changes according to the browser language. If we change language in the browser does the scheduler changes its date format patterns ( ex: "mon 6/10" in week view header), timeslot labels (ex: "8.00 A.M.") and texts(ex: monday, tuesday, wednesday... on month view) according to the new language. 

Ivan Danchev
Telerik team
 answered on 26 Jun 2020
1 answer
592 views
The code below throws a Javascript error that the function filter can not be found. Its defined right below the control. Why can't it be found?


                        @(Html.Kendo().ComboBoxFor(m=>m.childId)
                            .HtmlAttributes(new { style = "width:100%;" })
                            .Placeholder("Select ...")
                            .DataTextField("description")
                            .DataValueField("id")
                            .DataSource(source =>
                            {
                                source.Read(read =>
                                {
                                    read.Action("getData", "controller1")
                                    .Type(HttpVerbs.Get)
                                    .Data("filter");
                                })
                                .ServerFiltering(true);
                            })

                            .AutoBind(true)
                        )           
                        <script>
                            function filter() {
                                return {
                                    id: $("#Id").data("kendoComboBox").value()
                                }
                            }
                        </script>
Ivan Danchev
Telerik team
 answered on 26 Jun 2020
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?