Telerik Forums
Kendo UI for jQuery Forum
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
398 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
583 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
600 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
147 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
84 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
5 answers
1.7K+ views

Hi, I believe I have found a bug in the DropDownList when it is near the bottom of the page and opens upward.  To see an example, go to this JSFiddle:

http://jsfiddle.net/7LCr4/1/

Click the dropdown once, close it, click it again, and observe that the popup is now offset incorrectly to the left.

Investigation of the issue revealed that the problem seems to be that there is a vertical scrollbar that appears temporarily as the dropdown is opening, the second and subsequent times it is opened.  This causes the 'left' CSS property of the popup to be incorrect by the width of the scrollbar, because the scrollbar eventually disappears again.

More specifically, on line 12173 of kendo.web.js (v2012.2.710) -- in Popup.open() -- the kendo.wrap() call adds a .k-animation-container div that is pointing down, which is what causes the vertical scrollbar to appear (place a breakpoint there to see this).  This pushes the .k-widget "anchor" over to the left so that when the popup's 'left' property is set in Popup._align(), it is offset by the width of the temporary scrollbar.

It isn't until line 12408 in Popup._position() that the .k-animation-container is finally flipped vertically and the scrollbar disappears again -- but at that point it's too late because the popup's positioning has been set.

Note that the reason this does not happen the very first time the popup is opened is because its default coordinates are 0,0.  After the first open, the coordinates are changed to those of the widget/anchor down in the lower right of the page.

Let me know if you have any questions, and/or have a solution or workaround we can use to avoid this issue.  Thanks!

ryan
Kamau
Top achievements
Rank 1
 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
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?