function fibonacci(num) { if (num <= 1) { return 1; } return fibonacci(num - 1) + fibonacci(num - 2); } var series = []; for (var i = 0; i < 10; i++) { series.push(fibonacci(i)); } console.log(series);
Hello there,
We are currently having a logic in place where we load initial grid data and then process additional data after which we refresh the grid in order to see that additional data. Is there a way to do this without grid refresh?
-Stevan
Have just tripped over an little issue with the columns.attributes & columns.headerAttributes demos not working as expected.
To demonstrate run the following dojos based on your API demos
https://dojo.telerik.com/ojIrefaF
https://dojo.telerik.com/IGIBaViH
and you will see neither the header or cell data is being aligned to the right.
This regression seems to have been introduced with the 2022.2.802 release when the .k-text-right class went from
.k-text-right {
text-align: right!important;
}
to
.k-text-right {
text-align: right ;
}
Now there was probably a good reason to remove the '!important' property but anybody running these demos now will be confused with the output.
Looking at the latest CSS (2023.1.314) I see you now have a '!k-text-right' style for this purpose so it looks like a little tweak to you demo pages is required.
May I also suggest you add a note in the Grid API documentation about 'CSS Specificity' because I suspect nine times out of ten the '!important' property will be required to ensure it is not overridden by any Kendo CSS.
Regards
Alan
I have just seen the demo about using kendo DatePicker. But when inspect the calendar icon under Accessibility menu I can see the Default name for the button is given as "select". I would like to change the name of button from "select" to "Pick a date". Please Guide through. I have attached image for your reference.
Following is the code snippet:
<!DOCTYPE html>Hi
i use Kendo Mobile Tabstrip It doesn't show me any results
result for me
This problem also exists in other kendo mobile controls
pls help me
thank you
I've got a few custom popup grid editors that are grouping related fields using Bootstrap tabs.
I'm trying to find a way to switch tabs in the event of a validation error (using the built-in Kendo validation). At this moment, if a user has a particular tab open, and fails to complete a required field on a different tab, the save fails without any visual hints.
I've previoulsy found a solution when using jQuery validate (but I can't find it now) but I'd rather use Kendo's validation for simplicity.
Any suggestions?
Previously I've been using kendo.bootstrap-v4.min.css, which is now throwing a 404 with 2023.1.314.
Documentation specifies the following which also throws a 404.
http://https://docs.telerik.com/aspnet-core/installation/adding-client-side-resources/cdn-service
<link href="https://kendo.cdn.telerik.com/2023.1.314/styles/kendo.bootstrap-main.min.css" rel="stylesheet" type="text/css" />
Regards,
Heath
Here is a DOJO example that illustrates these 2 issues:
Issue 1: When using a full width template for listbox items, there is extra space above each item. This is due to the .k-list-item-text span you automatically create. It has a ::before pseudo element with content set to "\200b". Is this intentional? My workaround is to override this element CSS to remove the content.
Issue 2: When programmatically selecting items in the list box, the toolbar buttons are not enabled like when a user clicks an item. Calling trigger('change') does not help. My workaround is to trigger a click event on the item instead of using the Select() Method, but I assume this is a bug?
Here is a second DOJO with the 2 workarounds implemented:
I want to trigger an event add when a user highlights a time range on a scheduler.
I can pick up when the user lets go of the mouse on the calendar using
scheduler.wrapper.on("mouseup touchend", ".k-scheduler-table td, .k-event", function (e) {
});
but i can't figure out how to get the selected slot range from there.
seem to be able to get the end time of the selected range via the slotbyelement(e.target), but i can't figure out how to get the start time.