Telerik Forums
Kendo UI for jQuery Forum
2 answers
545 views
Hi,

We are using kengo grid and the data that we bind to the grid has good amount spaces in it. Example is, say we have a column named "Description" and sample data is:

"This is               a sample      description            text having            lot of spaces between words".

So when this data is bound to grid, we don't see these many spaces in the column. But we can see these spaces in the tool tip of the column when the user hovers the mouse on the grid cell..

Can you please let us know if this is the inherent behavior of the grid or any workaround with this? I think it would not make much sense to display these many spaces between words in the grid but wanted to know on this since we have similar situation at our end.

Thanks,
Sagar
Kiril Nikolov
Telerik team
 answered on 24 Nov 2014
3 answers
154 views
Hi

I created a chart, that uses local data to display stacked and grouped series.
Please see JSFiddle http://jsfiddle.net/35shc4ng/

On the resulting chart there are several series for the category "3" with values other than 0 but all values in the array "textData" are set to 0 for category "3".

Is this a dataSource/chart problem or am I missing something?


Regards,
Dirk
Iliana Dyankova
Telerik team
 answered on 24 Nov 2014
3 answers
112 views
I try to upload foto with mobile. I first try my code on desktop and it works. Then on IPAD on it works. With existing photo or new capture. But sadly it not works on Nexus 5. When I select existing or new photo I get notification at the bottom: "Failed to open selected file".
I install Wireshark on testing server, and it looks like no request came to server.
Are you familiar with this problem or it is just me? What can I do?
I get same error with your demos. I try Basic usage and Asynchronous Upload.
Dimiter Madjarov
Telerik team
 answered on 24 Nov 2014
1 answer
1.1K+ views
I have a DateTimePicker in my view, binding to my model's DateTime field, like this:

1.@Html.Kendo().DateTimePickerFor(m => m.ReceiptDateTime);

With this ViewModel: (I've omitted the irrelevant fields)

1.public class ReceiptViewModel
2.{
3.    public DateTime ReceiptDateTime { get; set; }
4.}

Now, I'm trying to post this to a WebAPI controller in ASP.NET Web API using JSON. I've tried many ways, but the controller never receives the value for the DateTime and sets it at a default "{1-1-0001 0:00:00}". How can I send the date to the controller?

1.var receipt = {
2.    /* more fields here */
3.    ReceiptDateTime: $("#ReceiptDateTime").data("kendoDateTimePicker").value()
4.};

How should I format the date in javascript?
Daniel
Telerik team
 answered on 24 Nov 2014
1 answer
248 views
Hi, I tried to disable the content as mentioned here, using:

<script>
$(function () {
   $($('#editor').data().kendoEditor.body).attr('contenteditable', false);
})
</script>

But it doesn't disable the toolbar buttons, so it's possible to add custom styles to the editor content. Is there any way to disable the toolbar too?
Alex Gyoshev
Telerik team
 answered on 24 Nov 2014
1 answer
53 views
Because it adds `always`, `done` and `fail` to the interface, but those are already defined in jQuery.d.ts.

interface JQueryPromise<T> {
    always(...alwaysCallbacks: any[]): JQueryPromise<T>;
    done(...doneCallbacks: any[]): JQueryPromise<T>;
    fail(...failCallbacks: any[]): JQueryPromise<T>;
    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<T>;
    then(doneCallbacks: any, failCallbacks: any, progressCallbacks?: any): JQueryPromise<T>;
}

Of course just commenting out those lines fixes the build, but I guess that anyone using kendo ui + typescript, already added jquery.d.ts...
Alex Gyoshev
Telerik team
 answered on 24 Nov 2014
1 answer
79 views
Hi
On the editable grid, when we remove a row, the deleted row remains on the event handler, this is inconsistent with the Save event.
See the example - http://dojo.telerik.com/@Javier/UCIg
Kiril Nikolov
Telerik team
 answered on 24 Nov 2014
1 answer
217 views
HI ,

Facing some issues regarding the binding of KendoUI Treeview at server side. We had an old treeview(1.1) MS control, now we are migrating it to something that works with HTML 5.0.

However the old treeview is binded to a dynamically generated XML from SQL on server side, but i am facing problems in doing the same for the Kendo UI TreeView control.

Thanks for your help!

Regards,
~Gatim
Daniel
Telerik team
 answered on 24 Nov 2014
1 answer
64 views
Hi is it possible to read an entire rows data with a customized template on a combo box rather than just use dataValueField? I would like to return both the Key and Date values in the example below

@(Html.Kendo().DropDownListFor(m => m)
    .DataValueField("Key")
    .DataTextField("Key")
    .Events(e => e.Change("ReceiptPayments.invoices.change"))
    .HeaderTemplateId("Header")
    .TemplateId("Template")
)
    <div id="Header">
            <span class="col-sm-2">Number</span>
            <span class="col-sm-4">Date</span>
     </div>

    <div class="row" id="Template">
        <span class="col-sm-2">#: data.Key #</span>
        <span class="col-sm-4">#: data.Date #</span>
    </div>





Georgi Krustev
Telerik team
 answered on 24 Nov 2014
3 answers
135 views
Hi all,

I just encountered a problem that I was not yet able to solve when I was playing around with the Excel export.

In our application there is a view in which we use a grid for data visualization. The grid itself is bound to a datasource within our viewmodel which is also used for filling a listview in another subview. The datasource gets new items pushed from the server or injected from different sources - there is no transport defined. Everything works fine except the Excel export as new items are missing within the export :(..

Here is a litte JSFiddle -> http://jsfiddle.net/ac495x2h/

What am I missing / doing wrong in order to have the added items included in the exported file? (already tried pushCreate and setting a whole new data array too)
Phyl
Top achievements
Rank 1
 answered on 24 Nov 2014
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?