Telerik Forums
Kendo UI for jQuery Forum
2 answers
93 views

Hi 

i have a case for two events with the same start time in the Day view

is there a way to select which one of these events in the aligned to the left and which one to the right?

 

 Thanks in advance!

Pedro
Top achievements
Rank 1
 answered on 12 Oct 2015
3 answers
137 views

Alt+Enter or Shift+Enter would not allow multiline editing of cells.

Is there any way to edit cell content over several lines?

Georgi Krustev
Telerik team
 answered on 12 Oct 2015
2 answers
273 views

Hello,

Lets say we have 2 different paths in treeview and on child level of these paths we have the same elements (bar)

$("#treeview").kendoTreeView({
  loadOnDemand: true,
  dataSource: [
    { text: "foo", expanded: true, items: [
      { text: "bar" }
    ] },
    { text: "ttt", expanded: true, items: [
      { text: "bar" }
    ] }
  ]
});

 

How can i select 'bar' node from the second path ('ttt' node)?

There is expandPath method to expand tree that accepts array of ids to expand. I want to achieve the same but for selection.

 http://dojo.telerik.com/IFamO/4

There i want to select 'bar' under 'ttt' node (programmatically).

Siarhei
Top achievements
Rank 1
 answered on 12 Oct 2015
2 answers
7.0K+ views
Hi 
I'm trying to create grid with one column is "ActionLink". 
The code look like - 
    col.Bound(o => o.BrunchCode);
    col.Template(@<text>
                  @Html.ActionLink(@item.BrunchCode.ToString(), "Brunch", "Statistics",
                  new { brunchid = @item.BrunchCode })   
                   </text>)
                  .Title("Test");
    col.Bound(o => o.BrunName);
})

I got right html ( in chrom/fiddler) but then the kendo script override the grid and this column become "undefined". 
Thanks
Adiel
Brian
Top achievements
Rank 1
 answered on 12 Oct 2015
3 answers
249 views

I have the following custom grid row button and (using Angular) code:

 

text: "Assign",
click: function (e) {
var tr = $(e.target).closest("tr");
var data = this.dataItem(tr);
authMaintServices.setSelectedRole(data);
$window.location = '#/roleAssignments';
}

In at least IE11, the $window.location works but in Google Chrome it goes nowhere.  Does anyone know how I can get this to work properly in both IE and Chrome?  I have tried the angular $location.path(...) and that does not work in either browser.

 

Thanks for the help.

Konstantin Dikov
Telerik team
 answered on 12 Oct 2015
2 answers
159 views

Having some trouble trying to use MVVM binding of a multiselect, and being able to establish the virtualization settings... I also cant find anything saying if it's even possible at this point.  As of right now, I'm just adding a data-virtual attribute and it's being completely ignored :(

 

Can anyone point me in the right direction?  Or if it's not supported out of the box, can anyone point me in the direction to make it work?

 

Thanks all!!!

JARED
Top achievements
Rank 1
 answered on 12 Oct 2015
1 answer
201 views

I've got my router and routes set up, and now I'm trying to implement the navigation, but router.navigate isn't updating the URL and I'm not sure why.

There's a link on my page that's meant to pull up a different view; the onclick for the link is bound to the navigatePage function:

function navigatePage(page) {  
    var category_id = page.data("categoryid");
    var page_id = page.data("pageid"); 
     
    router.navigate("/category/" + category_id + "/page/" + page_id);
}

This is the route it's going to:

router.route("/category/:categoryid/page/:pageid", function(categoryid, pageid) {          
    openPage(categoryid, pageid);
});

Which then calls the function to actually change the views. However, when I run the page, I can see (via console.log) that navigatePage is being called, then the route, but the URL never changes and the default route kicks in (I'm assuming because the URL hasn't been modified?).

So I went to record what I was seeing for you, and noticed that the URL is actually changing (you can see it blip in the vid), but the somehow it's being reset. I don't have any other navigate calls in my javascript. Here's the default route, in case that's relevant:

router.route("/", function() { 
    generateView();
});

Where am I going wrong?

Plamen Lazarov
Telerik team
 answered on 12 Oct 2015
1 answer
128 views

I have fields for entering addresses and the region field uses a combo box:

<select kendo-combo-box ng-model="vm.pickup.region" placeholder="Region"
    k-data-text-field="'description'"
    k-data-value-field="'code'"
    k-data-source="vm.regions"
    k-group="'country'"
    k-filter="'contains'"
    k-option-label="{ code: null, description: 'Region'}"></select>​

The datasource is:

{ code: 'AB', description: 'Alberta', country: 'CA' },
{ code: 'BC', description: 'British Columbia', country: 'CA' },
{ code: 'MB', description: 'Manitoba', country: 'CA' },
{ code: 'NL', description: 'Newfoundland and Labrador', country: 'CA' },
{ code: 'NB', description: 'New Brunswick', country: 'CA' },
{ code: 'NS', description: 'Nova Scotia', country: 'CA' },
{ code: 'NT', description: 'North West Territories', country: 'CA' },
{ code: 'NU', description: 'Nunavut', country: 'CA' },
{ code: 'ON', description: 'Ontario', country: 'CA' },
{ code: 'PE', description: 'Prince Edward Island', country: 'CA' },
{ code: 'QC', description: 'Quebec', country: 'CA' },
{ code: 'SK', description: 'Saskatchewan', country: 'CA' },
{ code: 'YT', description: 'Yukon', country: 'CA' }

When I start typing in the address textbox and then use the Chrome autofill it sets the region to Ontario which does exist in the datasource however the underlying model is not updated unlike the rest of the fields.

 

Plamen Lazarov
Telerik team
 answered on 12 Oct 2015
4 answers
3.2K+ views
Grid works as expected in VS ASP.Net development server.  Once deployed to IIS the data columns no longer line up with the header columns.

IE10, IIS7

What can I do to correct this?

Rosen
Telerik team
 answered on 12 Oct 2015
4 answers
297 views
If you have an input element with a binding to some property in a view model object.
In Chrome, if you are in the field and press enter, the change event fires on the view model and the new value is set.
In IE (9 for me)  the event does not fire until you blur the input element.
I am working around it by adding a keypress event and manually doing 
   self.viewModel.set(valuePath, $(this).attr('value'));
when the enter key is pressed.
But its clunky and should not be necessary.

Is there some way to force IE to update the view model binding when the enter key is pressed?

Thanks.
Paul
Top achievements
Rank 1
 answered on 12 Oct 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?