Telerik Forums
Kendo UI for jQuery Forum
3 answers
165 views

I'm experiencing issues accessing properties of an object nested (a couple levels down). The REST call is pulling in a couple lookup columns using $expand.
I seem to be able to access a couple layers, but I'm not able to access the needed property.

Schema

schema: {
            data: "d.results",
        }

 

The lookup Column is (e.g.) "team_Info", and the 2 linked columns are "Team_MemberName" (Text) &  "Team_Branch" (Calculated).

I'm using this data in a comboBox, so I'd set up...

ComboBox Definition

$("#combobox_teamInfo").kendoComboBox({
    dataSource: $myDataSource,
    dataTextField: "team_Info.results[0].Team_MemberName",
    dataValueField: "",
});

 

The problem is team_Info.results[0].Team_MemberName is returned as undefined.
On testing, team_Info[0] does return a series of objects, but I'm unable to access any sub-property of that object.

 

Thx!

Bozhidar
Telerik team
 answered on 27 Oct 2017
1 answer
2.3K+ views

HI ,

 

I have a requirement where I need to show  drop down options  is a table format  with headers and data(i.e like combox with mutiple columns in windows)   and user should be able to select a row from the options. is it feature is supported in  kendo UI dropdown .if yes can you please help me with a sample. 

 

please find the attached screen shot .

Neli
Telerik team
 answered on 26 Oct 2017
2 answers
120 views

There's a "feature" of the chart where the horizontal gridlines cross the Y axis and lead to the labels. I'd like them to terminate at the .

It looks like the attached now and the circled bit is the area (on each line) like to remove/terminate at the .

Any ideas how to do this?

 

Rob
Top achievements
Rank 1
 answered on 26 Oct 2017
2 answers
520 views

Hi!

Please have a look at this demo: notice that rows 5 and 6 have custom format, where I want to add currencies (exotic ones). However, I discover that "S" and "H" seem to be custom format specifiers. 

Can you provide a list of this special specifiers to know what special characters to escape?

Thanks!

iFACTS Admin
Top achievements
Rank 1
 answered on 26 Oct 2017
1 answer
163 views

I have a kendo grid and few actions buttons top of the kendo grid. When I resized the column widths and then mouse over on action button, the grid loses it adjusted widths.

Note : It happens on all the browsers. 

Stefan
Telerik team
 answered on 26 Oct 2017
2 answers
243 views

How to change the name of the excel toolbar for all grids?

 

 

Stefan
Telerik team
 answered on 26 Oct 2017
3 answers
467 views

Hey,

 

We're trying to implement a clickable calendar view. The idea is that a user can see a month as a grid with each grid element representing a day. And each day can contain a record (or several) of their work that day ; i.e. that they worked from 08-16 that day . We would like that when the user clicks on a day, it would open a list of their records for that day (right below the day they clicked, so that the calendar would "split in two" in order for the list to be placed just below the day.

I attached a picture for reference. Is this something that would be possible the ListView component? I can imagine the calendar wouldn't be much of an issue to make, but I'm more uncertain if it's possible to show the list (when clicking a day) in the manner described. 

 

 

 

Stefan
Telerik team
 answered on 26 Oct 2017
4 answers
1.2K+ views
I have a kendo grid with its dataSource, the grid has an editor dialogue with save button. I need to prevent the save button being double clicked. The onSave functions fire when the save button is clicked. I have a requestEnd event that fires when the save is to be re-enabled.

The problem: onSave1 fails 1 time in 100 (I think, its proving very difficult to test). It's based on adding an additional click handler, invoking preventDefault(). Is it fundamentally flawed?

Is onSave2 any better?

onSave1: function (e) {
    $(event.srcElement)
    .addClass("k-state-disabled")
    .bind("click", disable = function (e) { e.preventDefault(); return false; })
    this.dataSource.one("requestEnd", function () {
        $("[data-role=window] .k-grid-update").off("click", disable).removeClass("k-state-disabled");
    })
}

        
onSave2: function (e) {    
    $(event.srcElement).removeClass(".k-grid-update").addClass("k-state-disabled").addClass("disabledMarker");
    this.dataSource.one("requestEnd", function () {
        $("[data-role=window] .disabledMarker").addClass(".k-grid-update").removeClass("k-state-disabled").removeClass("disabledMarker");
    })
}
Stefan
Telerik team
 answered on 26 Oct 2017
3 answers
2.8K+ views

I have editable grid and wants to update (using Rest API) edited value in two cases 1) Call update function  in specific time interval 2)  Call update function when cell focus out.

I have separate JavaScript function to update remote data.

How to achieve this?

Stefan
Telerik team
 answered on 26 Oct 2017
7 answers
868 views
Is it possible to move item from one list to another just by double clicking on an item? I could not find this in the documentation and I'm not sure if it is supported. If it is not supported, would it be possible to add a checkbox before each item (via template) so that once the move button is clicked all the checked item will be moved?
Joana
Telerik team
 answered on 25 Oct 2017
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?