Telerik Forums
Kendo UI for jQuery Forum
2 answers
85 views
Ok, so this might be a "duh" question, but is the hold function not compatible with iPad/iPhone?  It doesn't work, even in your demo.  I expect this is a "known" but nowhere in the limited documentation is it stated.
Ivan Danchev
Telerik team
 answered on 17 May 2019
6 answers
1.4K+ views

See attached image.

I am using a "contains" filter. It works, but it also incorrectly shows this message "NO DATA FOUND." when there is matching data.

Konstantin Dikov
Telerik team
 answered on 17 May 2019
1 answer
255 views

When you create the event you enter the value in Eastern Standard Time (EST).  It is saved to the database as UTC but displays correctly on the calendar.  The problem is when you edit the event it show the UTC times in the edit event dialog [see screenshot] and when saved it appears to assume that the time is again eastern so it causes it to move.

The item is saved in the database with UTC Start, Stop field the StartTimeZone and EndTimeZone are both set to "Etc/UTC". [see screenshot]

The Timezone on the scheduler set up is set to "America/New_York"

I am using Version 2019.1.220 of KendoUI for Asp.Net MVC

 

screenshots of the UI and what is saved in the database 

 

 

Veselin Tsvetanov
Telerik team
 answered on 17 May 2019
2 answers
991 views
Hi,

I have  kendo grid that is scrollable horizontally and vertically.  When I scroll all the way to the right the columns become mis aligned by the width of the vertical scroll bar.  See image here:

http://snag.gy/WgXqY.jpg

I noticed that in this jsfiddle page there is spacing that looks like a fixed column above the scroll bar that accounts for this space.  All my columns have explicit width defined.  Why am I missing that spacing above the scroll bar.

http://jsfiddle.net/dimodi/F45Sc/

$("#policyVIEConsolidation").kendoGrid({
    dataSource: getPolicyDataSource(),
    pageable: {
        pageSizes: [10, 50, 100, 500],
        buttonCount: 5,
        numeric: true,
        refresh: true,
        messages: {
            display: "Displaying {0:n0} - {1:n0} of {2:n0}"
        }
    },
    dataBound: onDataBoundPolicyVIEConsolidation,
    scrollable: true,
    height: 'auto',
    sortable: true,
    resizable: true,
    reorderable: true,
    toolbar: kendo.template($("#templatePolicy").html()),
    columns: getColumns()
});
Thanks in advance.  This is drving me and my users nuts...
Joseph
Top achievements
Rank 1
 answered on 16 May 2019
1 answer
786 views

Hello,

is there a way to trim search value in autocomplete? The scenario is that as first thing when I use autocomplete I press space, to see all values on list, and then if there are many I start to type search value, however initial space is not trimed, so search result is not accurate.

 

Petar
Telerik team
 answered on 16 May 2019
1 answer
130 views

Hi, 

 I am new to Kendo UI Spread Sheet Component. Trying to fetch worksheet tab names while importing.

On importing a .xlsx with worksheet tabs, i am trying to fetch  worksheet tabs names with 

' $("#spreadsheet").data("kendoSpreadsheet").sheets(); '  but for the first time i am getting result as a default for every import ' _sheetName: "Sheet1"  '.

 

 

Veselin Tsvetanov
Telerik team
 answered on 16 May 2019
2 answers
259 views

Hi

I'm using a grid to show  the results form a search and also "hierarchy" for details of each result. Every time I search the new values shows perfectly fine but the detailInit event is not working is I need. First time the details looks good but if I search again the details grid does not show and I noted that it is using data from previous search results. I assumed that the fact that it is not showing the details is because of that but not sure. 

I have something like this:

function search()
{   
    getDataSource();
    createGrid();
}
 
function createGrid()
 
{
 
$("#grid").kendoGrid({
 
...
 
detailInit: detailInit,
 
....
 
});
 
}
 
function detailInit(e)
 
{
 
var trackId = e.data.TrackingID;// parent row value the one that is holding previous result
$("<div/>").appendTo(e.detailCell).kendoGrid({
dataSource:{
 transport: {
 read:
 {
 url: "API_URL",
 dataType: "json",
 type: "POST"
 },
parameterMap: function (data, type) {
var result = {
trackingId: trackId,
 }
 return kendo.stringify(result);
 }
 },
 },
 scrollable: false,
 sortable: true,
 pageable: false,
 columns: [......]
 });
 
}

 

Thank you

Tsvetomir
Telerik team
 answered on 16 May 2019
3 answers
779 views

I have a calculated property named "hasDashboards" that I am binding to with the enabled or visible bindings.

var ViewModel = kendo.data.ObservableObject.extend({

    init: function() {

        kendo.data.ObservableObject.fn.init.call(this);

    }

});

var MyViewModel = ViewModel.extend({

    init: function() {

        ViewModel.fn.init.call(this);

    },

    dashboards: new kendo.data.DataSource({ data: [] }),

    hasDashboards: function() {

        var ds = this.get("dashboards");

        return ds.data().length;

    }

});

 

I have tried doing this with an observable array as well instead of a data source, but neither hook into the binding updates. I can get this to work if I use the trigger() function on the view model and specify the hasDashboards field as a parameter, but I would like to avoid this additional complexity. I know I am doing something unsupported by deriving from ObservableObject directly, but we need availability and also build custom widgets.

I have also tried the observable array doing this.get("dashboards.length") (which is supported according to the docs), but that didn't work either. Let me know, thanks!

Veselin Tsvetanov
Telerik team
 answered on 15 May 2019
5 answers
1.3K+ views
I have a Kendo datasource that is not bound to a Kendo object; I am using the data in a plain old HTML textarea.

I would like to have the user modify the text in the text area, then hit a save button to apply the new data. I've linked the save button to a javascript function that calls dataSource.update() and gets the new data from the textarea. Of course, this doesn't work.

My question is: how do I get the dataSource to update since there is no update() method?
Alexander Jiménez
Top achievements
Rank 1
 answered on 14 May 2019
1 answer
100 views

Hi,

 

i have a grid which shows diffrent events occuring in a network,like error,bug,internet failure,...i want them to be shown in diffrent colores according to the event,for example red if its Error,green if its Internet falure,..how can i achieve that?

Alex Hajigeorgieva
Telerik team
 answered on 14 May 2019
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?