I've inherited a project that was setup using the technology stack outlined in this article: https://www.telerik.com/blogs/introducing-jaydata-and-kendo-ui
Basically the setup is, C#/WCF OData endpoint with query interceptor > Jaydata data access > kendo-ui jquery grids and some custom bindings.
The problem I'm facing is JayData stopped being maintained in 2017. 50% of the documentation 404's. No support, tutorials, or community around it now at all. I'm adding a new feature to my webapp for online/offline database synchronization and struggling to work with jaydata and uncertain how risky it is to continue relying on it and WebSQL (not sure how long chrome/safari will continue support) for a production application.
Can anyone recommend a more modern replacement library that integrates easily with KendoUI and this tech stack? Or a better way to handle implementing an offline mode in general? I saw kendo https://docs.telerik.com/kendo-ui/framework/datasource/offline which that saves to local storage. I'm concerned my database might be larger than 5MB localstorage limit and it seems indexedDB is now the recommended option? IndexedDb however brings in additional issues with syncing table relationships...
Appreciate general advice anyone can offer for working with this tech stack in 2019. Thank you.
In Editor for imageBrowser and fileBrowser need progressBar.
If upload big file or slow connection user upload file and nothing see
I'm following the example here: https://demos.telerik.com/aspnet-mvc/grid/server-export
But I'm getting a null pointer if any of the grid values are null. Shouldn't it act like the client export and just put in an empty value?
Is there some workaround for this?
◢ $exception {"Object reference not set to an instance of an object."} System.NullReferenceException
at System.Object.GetType()
at Kendo.Mvc.Export.Helpers.SetCellValue(ICellExporter cell, Object value)
at Kendo.Mvc.Export.Helpers.CollectionToStream(SpreadDocumentFormat format, IEnumerable data, IList`1 model, String title, Action`1 columnStyleAction, Action`1 rowStyleAction, Action`1 cellStyleAction)
at Kendo.Mvc.Export.ExportExtensions.ToXlsxStream(IEnumerable instance, IList`1 model, String title, Action`1 columnStyleAction, Action`1 rowStyleAction,
Hello,
I have a problem with export to excel when treelist contains columns in group
See Dojo 1
1. Last name is second column in browser, however in excel it is last one.
The problem is not so big if data corresponded to header, but header and data do not match!!
2. Group is not a merged column
In certain scenarios we get completely broken file. Dojo 2.
Excel offers to restore file, but after restore, header is even more broken than in first scenario (see attachments)
I tested it in chrome with jszip 2.4.0, 3.1.5, 3.2.0
Any possibilities to fix it?
Hi,
I have a Jquery grid that has a column with dropdown values as below. All the CRUD functions work 100% and data displays correctly.
The problem is that the filter for the dropdown list shows the object "[object] [Object]" and not the drop down values from the grid.
I thought I could just use the Filter Menu customization example below... but this doesn't work and doesn't seem to trigger the javascript at all.
https://demos.telerik.com/kendo-ui/grid/filter-menu-customization
var
dataSource =
new
kendo.data.DataSource({
type:
"aspnetmvc-ajax"
,
transport: {
"read"
: {
url:
"/Admin/Wells/GetWells"
},
"update"
: {
url:
"/Admin/Wells/Update"
},
"create"
: {
url:
"/Admin/Wells/Create"
},
"destroy"
: {
url:
"/Admin/Wells/Delete"
}
},
//batch: true,
pageSize: 20,
serverPaging:
true
,
serverSorting:
true
,
serverFiltering:
true
,
serverGrouping:
true
,
serverAggregates:
true
,
schema: {
data:
"Data"
,
total:
"Total"
,
errors:
"Errors"
,
model: {
id:
"Id"
,
fields: {
"Id"
:{
"type"
:
"string"
,
"nullable"
:
false
},
"NAME"
:{
"type"
:
"string"
,
"nullable"
:
false
,
"validation"
: {
"required"
: {
"message"
:
"This field is required"
}}},
"OPERATORFK"
:{
"defaultValue"
: {
"ID"
:
"0"
,
"NAME"
:
""
}}
}
}
}
});
$(gridID).kendoGrid({
sortable:
true
,
autoBind:
false
,
dataSource: dataSource,
filterable:
true
,
filter:
function
(e) {
console.log(
"filter event is fired"
);
},
columnMenu:
true
,
resizable:
true
,
selectable:
"single"
,
autoFitColumn:
false
,
pageable: {
pageSize: 20
},
columns:[
{ field:
"Id"
, nullable:
"false"
, title:
"ENO"
, minResizableWidth:
"125px"
, type:
"string"
},
{ field:
"NAME"
, title:
"Borehole Name"
, minResizableWidth:
"350px"
},
{ field:
"OPERATORFK"
, filterable: { ui: categoryFilter } , title:
"Operator Name"
, minResizableWidth:
"350px"
, values: values, editor: categoryDropDownEditor, template:
"#= (OPERATORFK.NAME == null) ? '' : OPERATORFK.NAME#"
}
],
editable:
"popup"
});
function
categoryFilter(element) {
alert(JSON.stringify(values));
element.kendoDropDownList({
dataSource: values,
optionLabel:
"--Select Value--"
});
}
Hi
Is there a way to get the selected item's group in kendo Dropdownlist with grouping?
Thanks!
I have a Kendo UI Grid in Angular that includes several foreign keys. For the most part, the columns' displays can be handled using the 'values' property for the column. However, I have a column in which I want to display both text and a font awesome image based on the foreign key ID. I assume this will need a template, but do not know what to enter in the template. For this column, I want something similar to the following:
$ctrl.columns = [{
field:
'typeId'
,
title:
'Type'
,
values: $ctrl.types,
editor: typeComboboxEditor,
template:
'<div>'
+
'<i class={{dataItem.typeId.image}} aria-hidden="true"></i>'
+
'<br/>{{dataItem.typeId.text}}'
+
'</div>'
}, {
field:
'text'
,
title:
'Item'
,
width:
'500px'
},
// etc.
{
command: [
{ name:
"edit"
, text:
""
},
{ name:
"destroy"
, text:
""
}
]
}];
Obviously, dataItem.typeId is not what I need to use to get to the image and text, but I do not know what to put here. For a different column, I created a component and passed in the entire dataItem, but that seems overkill for this.
Is there a simpler way to reach two fields of the parent table when using a foreign key?
Thanks!