Telerik Forums
Kendo UI for jQuery Forum
1 answer
180 views

Hi

 

I am facing a problem when I try to update the grid after some change has been performed on the data row and processed by the server.

The server returns the exact same model as it provides during the read method, but when I try to set that object using the pushUpdate method, date columns are displayed incorrectly. These values are not parsed in the client and end up being displayed as "/Date(1435096336667)/".

I have verified that the schema correctly defines "type": "date" for the field.

Is there any additional logic that must be performed before calling pushUpdate on the grid dataSource or should it handle a date sent as "\/Date(1435096336667)\/"?

 

Thanks, Rafael

Atanas Korchev
Telerik team
 answered on 26 Jun 2015
1 answer
68 views

Dears,

 

is there a common description/documentation for themeing and styling? Something that describes the different styles, the style classes and their ussage. A common description about the working of styling in Kendo would be very helpful to start with the framework.

 

thanks for help.

Oliver

Sebastian
Telerik team
 answered on 25 Jun 2015
4 answers
134 views

Hi there, I have an inline edit on my kendo grid, and an ellipsis shows if the text on one of the columns if too long, the issue i have is, when editing the edit text shows the three dots too (please see attached images), not the whole text. what can i do to fix this? 

Thanks for all the help!

 

Dimiter Madjarov
Telerik team
 answered on 25 Jun 2015
1 answer
161 views

Hi,

Can you please let  me know if there is a way I can separate the group header titles in separate line. The current drop down list grouping renders  a first group as <div> outside the ul-li zone, so, it uses the whole line, and the first "option" is under it. 

For all others, the option group is merged on the same line, and is rendered as a <div> inside the first <li> of each group.

Is there any way can I have it rendered as first option Group so that option group tile uses the whole line?

 

Thank you

Aarti


Georgi Krustev
Telerik team
 answered on 25 Jun 2015
1 answer
380 views

Export to excel for general grid is working fine. 

Export to excel for row template is not working properly.

Please check the demo example(http://dojo.telerik.com/@souro/uHiYE) for the same.

 Version Details:

2015.2.624 for all (kendo,jquery,jszip).

Please reply back with the proper reason.

Is export to excel option there for column template as i am not able to see any demo for the same?

Thanks,

Sourabrata

Dimiter Madjarov
Telerik team
 answered on 25 Jun 2015
1 answer
355 views

Hi, 

I am trying to export my grid to pdf with characters like äö and €.These characters are showing fine in the grid. 

After I export the grid to pdf, these characters are shown as boxes or as empty string. I have tried different fonts like with no success. 

Any suggestions how to make this work?

- Antti

 

Antti
Top achievements
Rank 1
 answered on 25 Jun 2015
2 answers
163 views

Hi,

When I enter a text into the Combobox suggestions will appear, but the entered Text is cleared, respectively replaced with the default value.

You can check this behavior on the Telerik-Demo Site:
http://demos.telerik.com/kendo-ui/combobox/serverfiltering
Enter 'cha' into the Combobox.

The Problem exists only at the first try after the page has been loaded. Consecutive tries without page-refresh worked as expected.

Awaiting your kind reply

 

 

Philipp
Top achievements
Rank 1
 answered on 25 Jun 2015
3 answers
268 views
Hi,

So I have a notification declared in my HTML page like this :

    <div kendo-notification="welcomeNotification"
         style="display: none"
         k-position="{ top: 0, right: 0, pinned: true }"
         k-autohideafter="8000"
         k-height="'100px'"
         k-options="notificationOpt"
         k-width="'300px'"
         k-animation="{open:{ effects: 'slideIn:left'},close:{effects: 'slideIn:left',reverse:true}}"         
         k-stacking="'down'">
    </div>

And in my controller I show the notification this way : 

$scope.welcomeNotification.show("my message", "info");

It's working fine but I wanted to add a template to my notification like the example in the kendo website but I cannot find the way to do it with angular.js and kendo ui.



Kiril Nikolov
Telerik team
 answered on 25 Jun 2015
1 answer
134 views

Demo Page:

http://demos.telerik.com/kendo-ui/listview/mvvm

 

If I edit the listview, remove the name, the save event still triggers...?

Rosen
Telerik team
 answered on 25 Jun 2015
1 answer
202 views

Hi there, I have encountered an interesting issue that has left me stuck for days. I have used the datasource filtering configuration before but not in the current context. I am trying to create a User Profile view for my mobile app. Please see the attached image for the JSON that I am retrieving from the web services that I have created. And looking at the structure of my data, can someone help me point out if there is anything I have done wrong.

Below are the code snippets from my user-profile.js file.

1.app.profileView = kendo.observable({
2.    onShow: function() {}
3.});

01.(function(parent) {
02.    var provider = app.data.woofBackend,
03.        init = function() {
04.             
05.        },
06.        successHandler = function(data) {
07.            if (data && data.result) {
08.                app.user = data.result;
09.            } else {
10.                init();
11.            }
12.        },
13.        userProfileViewModel = kendo.observable({
14.            userAccount: new kendo.data.DataSource({
15.                schema: {
16.                    data: function(response) {
17.                        var userDetails = _.where(response, { Username: app.user.Username});
18.                        return userDetails[0];
19.                    }
20.                },
21.                transport: {
22.                    read:  {
23.                        url: "http://woofapi.xdevap-development.com/UserAccounts/",
24.                        dataType: "json" // "jsonp" is required for cross-domain requests; use "json" for same-domain requests
25.                    }
26.                }
27.            }),
28.            userProfile: new kendo.data.DataSource({
29.                schema: {
30.                    data: function(response) {
31.                        var userDetails = _.where(response, { Username: app.user.Username});
32.                        return userDetails[0].UserProfile;
33.                    }
34.                },
35.                transport: {
36.                    read:  {
37.                        url: "http://woofapi.xdevap-development.com/UserAccounts/",
38.                        dataType: "json" // "jsonp" is required for cross-domain requests; use "json" for same-domain requests
39.                    }
40.                }
41.            })
42.        });
43.     
44.    parent.set('userProfileViewModel', userProfileViewModel);
45.     
46.    // This method below will bind the onShow function to the view when the screen is loaded.
47.    parent.set('onShow', function() {
48.     
49.        // If the user already has a session, then automatically log them in. Otherwise, display the corresponding view.
50.        provider.Users.currentUser().then(successHandler, init);
51.    });
52.     
53.})(app.profileView);

As you can see above, I had some trouble using the filter option for matching the Username of the user. So I have used a workaround by using underscore.js. I have tried using a debug to print the output into a javascript alert(), and it works fine for now.

The next challenge I am having is trying to bind the userProfileViewModel to my view in the HTML (see below).

In my User Profile View HTML file:

1.<div data-role="view" data-title="Profile" data-layout="main" data-model="app.profileView" data-show="app.profileView.onShow">
2.    <span data-bind="text: userProfileViewModel.userAccount.Firstname"></span>
3.</div>

Alexander Valchev
Telerik team
 answered on 25 Jun 2015
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?