Telerik Forums
Kendo UI for jQuery Forum
3 answers
74 views
Hi;
I have a trouble at my grid when I load state.
The paging bar is being broken whenever I do this.

to understand please take a glance through this example: http://dojo.telerik.com/@doktoresperanto/oJiVu


Kiril Nikolov
Telerik team
 answered on 30 Jan 2015
3 answers
228 views
Hi,

I have an application in angular.js and we're using kendo ui.  In my page (html) I have an image inside a div and I want to have a context menu associated to this image.  But I don't want the context-menu to open on the left click.  My goal is to have this menu open when the user click this image, I added the context-menu inside my page but I cannot find it inside the scope to call the open method.

Someone have an example how to achieves this ?

Thanks
Kiril Nikolov
Telerik team
 answered on 30 Jan 2015
3 answers
328 views
Hi,
All but  thumbnailUrl is working. The filenames display and I can select but images are not resolded. Not sure what I'm doing wrong.
TIA
John
angularjs code
    $scope.tooloptions = {

                tools: [
"bold","italic","underline","strikethrough","justifyLeft","justifyCenter","justifyRight","justifyFull",
"insertUnorderedList","insertOrderedList","indent","outdent","createLink","unlink","insertImage","insertFile",
"subscript","superscript","createTable","addRowAbove","addRowBelow","addColumnLeft","addColumnRight","deleteRow",
"deleteColumn","viewHtml","formatting","cleanFormatting","fontName","fontSize","foreColor","backColor"
                ],

                  imageBrowser: {
                    messages: {
                        dropFilesHere: "Drop files here"
                    },
                    transport: {
                        read: {
                            url:'api/galleryKendo/crew',
                            type:'GET'
                        },
                         //destroy: {
                        //    url: "/kendo-ui/service/ImageBrowser/Destroy",
                        //    type: "POST"
                        //},
                        create: {
                            url: '/api/upload',
                            type: "POST"
                        },
                         thumbnailUrl: 'api/galleryKendo/crew',//upload',
                        uploadUrl: 'http://localhost:8013/upload',//  '/api/gallery/crew',//'api/upload',

                        imageUrl: 'http://localhost:8013/images/crew/{0}'
                    }

                }
            };

html
  <textarea style="width:100%;height:500px" kendo-editor="editor" k-options="tooloptions"
  k-encoded="false" ng-model="currentPost.postContent"></textarea>

json result
[
{
name: "1___Selected.jpg",
type: "f",
size: 15047
},
{
name: "banner2.jpg",
type: "f",
size: 114968
},
{
name: "boat.jpg",
type: "f",
size: 709986
},
{
name: "JohnTomaselliheadShot.JPG",
type: "f",
size: 107260
},
{
name: "lake.jpg",
type: "f",
size: 621634
},
{
name: "sails-logo.png",
type: "f",
size: 11631
},
{
name: "sea.jpg",
type: "f",
size: 840511
},
{
name: "sunfield.jpg",
type: "f",
size: 1169317
},
{
name: "tree.jpg",
type: "f",
size: 1171474
}
]
John
Top achievements
Rank 2
 answered on 30 Jan 2015
1 answer
376 views
Hello,

This is just an example, but assume I have an object in this format:

object type = Person

Person has these fields: personid, name, dob, title, roles

Roles in a child class with fields:  roleid, name, securitylevel

So in my javascript I can access a role field like this:   person.roles[0].name or person.roles[1].roleid etc.

I want my grid to have the following columns:  name, dob, title, roles with the roles column to list all of their roles.  i don't want it to be a subquery that goes back to the database since I already have the data available.  maybe that column should just run a function that passes in the current person.roles list and loops through them building out a template field for that column?  Thanks for any help.

Coty


Coty
Top achievements
Rank 1
 answered on 29 Jan 2015
4 answers
546 views
I am trying to use the kendo-editor angular directive in my app and am having problems because the directive only works on text areas.

More specifically I need to integrate it with another directive that only works on contenteditable elements.  Is there a way to get kendo-editor to work in a contenteditable div?
Zohar
Top achievements
Rank 1
 answered on 29 Jan 2015
1 answer
257 views
 http://demos.telerik.com/kendo-ui/map/index
Above is your demo page which displays name in different languages. For example if zoom out and move it to other country, the names are all in local language.
Is there any way I can display all the names in English instead of local language? Thanks.
Alexander Popov
Telerik team
 answered on 29 Jan 2015
1 answer
201 views
I'm currently using Kendo UI javascript v 2014.3.1316 and I was attempting to scour Google and Telerik forums to restrict the move event to a specific row in Timeline View. For instance:
             |           1PM           |           2PM         |             3PM         |
             |==============|=============|==============|
    Rob  |       [ Event1 ]        |                           |                             |
             |==============|=============|==============|
    Bill    |                              |                           |       [ Event2 ]       |
             |==============|=============|==============|

I want to permit resizing and grabbing/moving of an event as long as it remains on a given person in my scenario above. So I'd like to resize or move Event1 to any time or timespan, but it must always be assigned to Rob and not given to Bill.Is this possible under the current Scheduler version or would it be impossible until future updates or heavily modifying the scheduler?
Georgi Krustev
Telerik team
 answered on 29 Jan 2015
1 answer
191 views
Hello,

I just noticed a problem with the grid's setOptions method.  When you set a custom pager element, it get's removed after a call to the setOptions method even if the options specified are not related to the pager itself.

Here's a link to an simple example of the problem.

Step 1: click on TestA to add the filterRow to to grid with a custom pager element.

Step 2: click on TestB to remove the filterRow using the setOptions function.  Notice that both the filter row and the custom pager element gets removed.

Simon
Petur Subev
Telerik team
 answered on 29 Jan 2015
1 answer
165 views
Can I make my scheduler view to be full height in every view - Day, Week and Month. I done this for web browsers via css, but for real mobile device this doesn't work. This is my code for scheduler.
 $scope.schedulerOptions = {
        views: [
            { type: "day", selected: true },
            "week",
            "month"
        ],
        height: kendo.support.mobileOS.wp ? "28em" : "600",
        mobile: true,
        showWorkHours: false,
        edit: function (e) {
            // add recurrence editor label
            // hide both label and editor
            var editor = e.container.find("[data-container-for=recurrenceRule]");
            var timezone = e.container.find("[data-container-for=timezone]");
            editor.add(editor.prev()).hide();
            timezone.add(timezone.prev()).hide();
        },
Georgi Krustev
Telerik team
 answered on 29 Jan 2015
3 answers
240 views
I am trying to manually add data to a remote data source. I can add the data and then have the value selected, but the data doesn't seem to sync up. 

$('#idhere').data('kendoMultiSelect').dataSource.add({
 id: 'id',
 value: 'value'
});
$('#idhere').data('kendoMultiSelect').dataSource.sync();
$('#idhere').data('kendoMultiSelect').value('id');

I can see the value in the multiselect, but when I click the x to delete the item from the multiselect I get an error in the console that says: "Uncaught TypeError: Cannot read property 'id' of undefined"

When I break in the code at the line where I call the value() function and check the data source by doing:
$('#idhere').data('kendoMultiSelect').dataSource I can see the value, but when I continue the debugger, a few seconds later when I do the same query I don't see any values in the datasource from the same query.

It looks like someone else is having the same problem that I am: https://stackoverflow.com/questions/27561844/adding-data-after-initialization-of-kendo-ui-multiselect
Georgi Krustev
Telerik team
 answered on 29 Jan 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?