hello,
I want to access the spreadshet object in Angular, export and import data.
Example
(A completely imaginary example. I don't know how.)
how can I do it ?
thanks in advance
Hello.
We've seen multiple problems with the layout transition effects:
1. The width of the view to navigate from is being reduced to a fraction of the actual width in the beginning of the transition.
2. The AppBar is not part of the transition effect if navigating back to a view with an AppBar "sticked" to the top and the vertical scrollbar position in the browser is not at the top.
3. Have seen the transition effect not working at all sometimes when navigating back to a previous view.
We're using Kendo UI for jQuery R3 2020.
Regards, Rolf
I'm searching documentation about kendo Router with pushState=true.
Using the configuration like:
pushState:true
root:"/"
when I use router.navigate always is fired the routeMissing event. Why?
I think that there isn't enought documentation about how to work with pushState.
Should i use navigate with pushState:true or history.pushState?
Can some write some example ?
Thanks
var
router =
new
kendo.Router({
pushState:
true
,
root:
"/"
,
init:
function
(e) {
debugger
},
routeMissing:
function
(e) {
debugger
},
change:
function
(e) {
debugger
}
});
router.route(
"/"
,
function
() {
loadModule(
"/presentacion"
);
});
router.route(
"/previsiones"
,
function
() {
loadModule(
"/controls/prv/prv_listadoPrevisiones"
);
});
Hello,
I’m trying to get query string values for a root route but parameters seems to be undefined.
e.g for url : https://mywebsite.com/?test=hello
thanks for your help.
var
router =
new
kendo.Router();
router.route(
"/"
,
function
(params) {
console.log(params);
// undefined
});
Is is possible to add a tooltip to the entire row of a grid? I currently can add a tooltip to each column template but was wondering if I could just have the tooltip appear on any item in the entire row?
This is solution I am looking for but in a MVVM implementation
https://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/Layout/grid-with-kendo-ui-tooltip
<div id="grdWarningndex" data-role="grid"
data-editable="false"
data-sortable="false"
data-columns="[
{ 'field': 'WarningStatus', 'width': 5,'title': 'WarningStatus' ,template: '<span data-role=\'tooltip\' title=\'The warning status tooltip is: #=WarningStatus# \'> #=WarningStatus#</span>' },
{ 'field': 'WarningMessage', 'width': 100,'title': 'WarningMessage','template': '<span data-role=\'tooltip\' title=\'This is the message tooltip \'> <a href=/=#=WarningMessage# data-bind=\'click: goToView2\' >#=WarningMessage# </a> </span>' },
{ 'field': 'WarningAction', 'width': 100,'title': 'WarningAction','template': '<a href=/=#=WarningAction# data-bind=\'click: goToView3\' >#=WarningAction# </a>' },
{ 'field': 'WarningTime', 'width': 150,'title': 'WarningTime(EST)' },
]"
data-bind="source: dsWarnings, events: { dataBound: dsWarnings }"
style="height: 300px"
>
I'm trying to prevent back on firefox by preventing event.
It is not working properly. Page stays where it was, but change event is still fired and page is still rerouted behind to the same one.
It cause loosing whole page state. because even if url stays the same page was reloaded.
Hello,
I'm playing with Kendo just few days... yesterday I have start to investigate SPA app pattern and it implementation in Kendo. I understand how views, layouts and router plays together.
But I have a problem to design app as whole.
My example app is about customers. Imagine you have customers. Customers have services. And every (logged) user in my app can manage zero or more customers and their services.
In my app I have a 1 layout object rendered from template. This template have 1 combobox which can be used to select a customer and one div for "views". in this simple case imagine only 3 views, showing 3 different grids of some customer's data (for example services, log entries and contacts).
My questions:
1. one BIG model (instance of observable) or one model for layout and 3 smaller models for each views?
2. if more than one, how to synchronize "customer selection" and propagate this change down to views?
3. if i have not 3 but 100 views... will be all templates "rendered and synchronized" even if only one is active?
4. how to free memory from inactive views? each view have datasource for grid, grid's data are huge (500+ rows, more than 10 columns) ... if i enable row filtering, datasource is duplicated for suggestion autocomplete edit box. not sure if one model is good way.
I would be very happy if someone with more knowledge with Kendo SPA help me how to start :)
Peter.
documentation for router change event says that navigation can be canceled with preventDefault
but i want to ask user before leaving current view if is ok to leave unsaved changes.
can be done using promises ?