Telerik Forums
Kendo UI for jQuery Forum
1 answer
250 views

I have grid and chart ,they are using the same datasource,my data-source is coming from a ajax call,im not using my datasource like:

dataSource: {

serverFiltering: true,

transport: {

read: { url: "https://demos.telerik.com/kendo-ui/service/StockData", dataType: "jsonp"},

parameterMap: function(data) {

return { filter: JSON.stringify(data.filter) };}}, schema: stockDataSchema },

 

i just do a ajax call:

 

 $.ajax({
               dataType: "json",
               type: "POST",
               url: "@Url.Action("Controller","View")",
               contentType: "application/json; charset=utf-8",
               data: JSON.stringify({ "parameters}),
                   success: function (result) {

// I USE THE RESULT AS A DATASOURCE OF MY CHART AND GRID,DIRECTLY

 

}};

now,what i want is ,when i click on grid item to be sorted,chart should be sorted accordingly ,how should i achieve this?

 

 

 

Tsvetina
Telerik team
 answered on 09 Aug 2018
1 answer
93 views

Hi,

I'm using KendoUI for PHP. I was created a KendoUI Grid with some column and everything is working.

But now, I don't know, If is it possible, but I need to add to my datagrid a column with the WEEK number and combined with NUMBER filtering header.

 

 

Thank you very much for each help.

Preslav
Telerik team
 answered on 09 Aug 2018
3 answers
1.0K+ views

I've been following the demo's provided on the Kendo site and attempting to add several features into a grid:  The selectable feature to allow click-drag selection of multiple rows, and a "Select All" checkbox in the header that will select all checkboxes for all available rows.

 

Unfortunately, I have not been able to get them both to work at the same time.  Please see the Dojo I've modified: Here

 

Notice that the "select all" checkbox works correctly on page load - but when a feature of the grid is interacted with (such as the sort feature), the checkbox will stop working.  Here's the interesting thing, if another feature is clicked (another sort - even if not the same row), the checkbox will function correctly again.

 

It "feels" as though something is being enabled/disabled that allows the checkbox to be selected.

Preslav
Telerik team
 answered on 09 Aug 2018
3 answers
401 views
Hi, 

I have an editable (batch editing) grid with child grid binding to local data. Problem is when I editing group item and after edit do grid.dataSource.read() that it change the last group item name to this which I edit. In  its all fine (correct names) its only views like this. After reloading all grid once again data is also good. Only in the moment of editing. When I editing detail item alls go well. This problem is only on group edit.

I have no more ideas about why it happened. When I debug js all data are correct, its show correct names, and then I see  name. 
On the first screen, you can see what I mean.
On the second screen for comparison editing detail element, and it's correct.

I will be grateful if someone knows the reason why it happened.

Kind regards,
User 


Preslav
Telerik team
 answered on 08 Aug 2018
8 answers
584 views

I'm trying to Wrappers for Vue. using kendo-grid in my commponent. and set a command  to a kendo-grid-column. the command.click bind to one of  my vm.method. I wonder how to get current data item in vm's method. Can I? 

 

Konstantin Dikov
Telerik team
 answered on 08 Aug 2018
1 answer
601 views

I use AutoComplete as people picker

When selecting element, the whole object is selected (but just first name and last name is shown).

You can get selected object by: $("#" + ).data("kendoAutoComplete").dataItem()

The problem is when I fill the form with data. I don't know how to set to autocomplete so there would be value in ""

$("#" + ).data("kendoAutoComplete").value("test") is setting only what's displayed

I need this to validate whether the proper element was selected and I need all of the other properties of .

 

How to set as element in AutoComplete

 

Ivan Danchev
Telerik team
 answered on 07 Aug 2018
3 answers
150 views

Both persistSelection and selectedKeyNames are are broken when using a kendo.data.Model definition inside a dataSource.schema.model as per the documentation.

Demonstrated here;
https://dojo.telerik.com/EnAqAWAV

Alex Hajigeorgieva
Telerik team
 answered on 07 Aug 2018
1 answer
9.6K+ views
Hello, I’m trying to figure out how to specify the 'template' format for the “Report Link” below and I’ve tried a number of formats like the following but I get the “Missing attribute name” message and i've attached a word doc that shows the grid data without the template just to show that the grid is showing data, thanks for any pointers on this!

‘template'  : '<a href="#=reportLink#">#=Report Link#</a>'

 

<div id="gridAppUsers" data-role="grid"
                 data-columns="[
                                {
                                    'title'  : 'Report',
                                    'field'  : 'reportLabel'     
                                },
                                {
                                    'title'  : 'Report Link',
                                    'field'  : 'reportLink',
                                 'template'  : '<a href="#=reportLink#">#=Report Link#</a>'
                                }
                         ]"
                 data-editable="inline"
                 data-sortable="true"
                 data-scrollable="true"
                 data-selectable="single, row"
                 data-bind="source: reportDs">
Eyup
Telerik team
 answered on 07 Aug 2018
1 answer
86 views

I Saw that have an option of view WorkWeekView but i would like this workWeekView for all types of Views.

 

How can i do this ?

Ivan Danchev
Telerik team
 answered on 07 Aug 2018
3 answers
2.8K+ views

Hi, i want to ask about something, can us set disable in row kendo grid with condition? 

Thank's

Tsvetomir
Telerik team
 answered on 06 Aug 2018
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?