Telerik Forums
Kendo UI for jQuery Forum
2 answers
596 views
I have a column with only two possible values, and I have put a kendoDropDownList in the filter cell for that column. Now the filter button above, in the main header cell, makes no sense. How can I hide just the one button?

See attached image.

This  is the code that initializes the column:

           
field: 'IsInstr',
                title: 'Instr',
                width: 70,
                headerAttributes: {
                    "title": "Instrument or Component",
                },
                filterable: {
                    extra: false,
                    cell: {
                        template: function (input) {
                            input.kendoDropDownList({
                                autoBind:false,
                                dataTextField: "text",
                                dataValueField: "value",
                                valuePrimitive: true,
                                dataSource: instValus,
                                text: 'Both'
                            });
                        },
                        showOperators: false,
                        inputWidth: 75
                    }
                },
Kiril Nikolov
Telerik team
 answered on 29 Aug 2014
3 answers
194 views
is there a way to make Pinch/Zoom enabled in a listview, and the zooming stays inside the listview and not the whole page.
Troy Clemons
Top achievements
Rank 1
 answered on 29 Aug 2014
4 answers
178 views
Hello,

I am trying to find a way to show the tooltip for a chart on click, instead of hover. The reason is using the chart on a mobile device removes the ability to "hover".

From the source it appears there is a 'showOn' field in the options, however on your documentation does not have this field and doesn't appear to be used during tooltip display.

Is there a way to display the tooltip on click and not on hover? 
Iliana Dyankova
Telerik team
 answered on 29 Aug 2014
7 answers
573 views
Hello,

 I can bind a toolbar button click to a view model using the following code:

$("#toolbarButton").attr("data-bind", "click: onButtonClick");
var model = kendo.observable({
  onButtonClick: function () { alert(“Hello”) }
});
kendo.bind($("#Toolbar"), model);


After disabling the button, it is grayed out but clicking on the button still calls the click handler. The button is disabled using the following code.

var toolbar = $("#Toolbar").data("kendoToolBar");<br>toolbar.enable($("#toolbarButton"), false);

 Any help would be appreciated.

Regards,

Bert
Petyo
Telerik team
 answered on 29 Aug 2014
1 answer
344 views
What is the best way of doing local binding of a DropDownList (or ComboBox) to a cached JSON array, e.g. a collection of data items cached in localStorage?
Petur Subev
Telerik team
 answered on 29 Aug 2014
3 answers
1.7K+ views
Hi,
I'm using cascading multiselect dropdownlist.When i'm trying to refresh it ,its giving the old list along with the new multiselectlist.I want to remove the old list and append the new list there.How to do that?
Georgi Krustev
Telerik team
 answered on 29 Aug 2014
3 answers
278 views
I'm trying to create a title for my scheduler events which is composed of multiple different parts of the data for the event. The parse field seemed like a good choice as you can assign it a function, which is then called in order to parse the data. Unforuntately, this function is never passed any data at all which makes it impossible to use as designed, unless I'm missing something?

Example:

http://jsbin.com/siciqoyiteyo/1/

In this example I have:

schema: {
             model: {
               fields: {
                 employee_uid: { defaultValue: "1" },
                 title: { parse: function(anything){ return ""+ anything}},
                 notes: { type:"string"}
               }
             }             
           }
but as you can see in the demo, the title is always "undefined".

Hope you can help.

Cheers, Paul.
Vladimir Iliev
Telerik team
 answered on 29 Aug 2014
4 answers
107 views

Hi,

    It's find that DropDownList display double search boxs when using MVVM  with filter enabled, and [Here] is an example: Click the DropDownList input and we will see two search boxs. However, when we remove this line:
kendo.bind($("#products"), viewModel);
it works okay. Any suggestions? Many thanks.
hustcer
Top achievements
Rank 1
 answered on 29 Aug 2014
1 answer
608 views
I would like to be able to do something like:

<div kendo-custom-grid></div>


And have a custom function that runs every time the extended version
of the grid is used, that way I don't have to repeat myself with the
same method when loading the grid every time.

Since right now I'm doing:

<div kendo-grid></div>


It looks like there's a way to extend the grid using extend in the non angular kendo grid. http://elybob.wordpress.com/2013/09/06/kendo-grid-extension-tutorial/
Mihai
Telerik team
 answered on 29 Aug 2014
2 answers
178 views
Hi,

I have an issue where the non-safe getter is being cached and then when I need the safe version the cache returns the non-safe.
i.e.
First call results in:
return d.c1661059794
second call that needs the safe version gets the above instead of:
return ((d.c1661059794 || {}).value)

This is entirely in kendo code and appears to be caused by having both a grid with (aggregates) and chart on the same page. Both use separate datasources, but contain similar data where the value is a complex object.

The first call to the getter appears to be from the grid datasource running the aggregation (stack trace attached).

Firstly, should the cache not take the safe flag into account? I would consider it a bug that it doesn't.
Secondly, is there a workaround I can use to fix the cache so that the safe version is returned?
I am currently using Kendo UI v2014.1.528 though could update to the latest if it would resolve.

Thanks
Euan
Euan
Top achievements
Rank 1
 answered on 29 Aug 2014
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?