Telerik Forums
Kendo UI for jQuery Forum
2 answers
179 views
Hi,

I'm using version "2014.2.716"

In this version calling tabStrip.select() will return an empty array if there is no tab selected. I see this behavior is different in later versions, where the TabStrip widget instance is returned instead.

So, my question is, what is the official way to determine if a tab is currently selected or not?

By the way, it's changes like this that have made our adoption of newer releases of the framework slow/painful. Looking through KendoUI Release History I don't see any breaking changes listed for TabStrip - yet, here is one.
Josh
Top achievements
Rank 1
 answered on 24 Mar 2015
1 answer
182 views
Hello,

I'm needing to disable collapsible behavior after some user actions, then, when the user finishes editing a form, the collapsible should be set to true again allowing the user collapse the current pane and open other one.

Is there any way to implement this?

PD: I tried setting the splitter.options.pane[INDEX].collapsible = false, it didn't work for me.


Thanks
Dimo
Telerik team
 answered on 24 Mar 2015
0 answers
127 views
How to export kendo detail grid to excel ?when apply the code form Telerik Kendo UI detail grid export it does not work correctly.please give me a sample code to export kendo detail grid to excel.
supun
Top achievements
Rank 1
 asked on 24 Mar 2015
3 answers
419 views
Hello.

I've created a grid and bound to an observable via MVVM, all went fine.

Now I'm trying to implement a custom popup template for the grid with the following:

<div
    data-role="grid"
    data-sortable="true"
    data-editable='{"mode": "popup", "template": "kendo.template($(/"#popup/").html())"}'
    data-columns='[{"field": "CustomerAddressType_Name", "title": "Type", "width": "70px"}, {"field": "CustomerAddress_Line1", "title": "Line 1"}, {"field": "CustomerAddress_Postcode", "title": "Postcode"}, {"field": "Country_Name", "title": "Country"}, {"command": [ "edit", "destroy" ], "filterable": false, "sortable": false, "width:": "240px"}]'
    data-bind="source: addresses()"></div>

I believe the line:

 data-editable='{"mode": "popup", "template": "kendo.template($(/"#popup/").html())"}' co

is incorrect though as I'm getting an invalid template error.

Would some kindly point me in the right direction please?

Many thanks.
jj
Top achievements
Rank 1
 answered on 24 Mar 2015
2 answers
106 views
Hello,

In my application I have a kendo filterable datagrid (mode: "row"). The filter works fine but when I try to load the saved options of type date I get the next error :

TypeError: "".toLowerCase is not a function
return ((d.creationDate || '').toLowerCase() == '2015-03-19t23:00:00.000z')

I have defined the type of the field as date correctly.

Do you know what is the problem?

My Kendo version is: v2014.3.1119.


Regards
Kiril Nikolov
Telerik team
 answered on 24 Mar 2015
2 answers
727 views
How do you recommend setting the font-size of radio buttons and checkboxes styled with kendo UI considering in the example at http://dojo.telerik.com/aqEZU, radio buttons and labels are misaligned vertically, besides the fact that radio buttons are too small. In other words how to have proportionate and properly aligned radio buttons or checkboxes at various font sizes? 

I have a constraint in the scenario I am bound to: any modification should be limited to the scope of the div that contains the group of radio buttons as other groups on the page might have different sizes. All radio buttons in the same group have the same size.

Iliana Dyankova
Telerik team
 answered on 24 Mar 2015
3 answers
217 views
Is there a way to sort the list of choices in a multi checkbox filterable?

Thanks in advance for your answer.
Petur Subev
Telerik team
 answered on 24 Mar 2015
8 answers
378 views
Does the Autocomplete widget support odata v4 in the same way that the grid does?

I'm finding that
substringof(xxx
is being sent to the server instead of contains.

I am using odata-v4 in a grid and it seems to work fine.

But I've got this in the parameterMap override.
pmap.$filter = pmap.$filter.replace(/substringof\((.+),tolower\((.*?)\)\)/, "contains(tolower($2),tolower($1))");

which is a bit nasty!

snippet of my autocomplete settings..
filter: "contains",
            minLength: minLength || 3,
            placeholder: placeholder,
            dataSource: {
                type: "odata-v4",
                serverFiltering: true,
                transport: {
                    read: {
                        type: "GET",
                        dataType: "json",
                        url: "--some url--"
                    },
                    parameterMap: function(model) {
                         var pmap = kendo.data.transports.odata.parameterMap(model);
                         if (pmap.$filter) {
                               pmap.$filter = pmap.$filter.replace(/substringof\((.+),tolower\((.*?)\)\)/, "contains(tolower($2),tolower($1))");
                         }
                         return pmap;
                    }
                },

Can't help but think I'm missing something
Georgi Krustev
Telerik team
 answered on 24 Mar 2015
4 answers
713 views
I am using the latest version of Kendo UI Grid. Please advise if there any way to change top and bottom padding for grid row. The problem is that the heigh is set for <tr>

<tr role="row" data-uid="497445bb-2ebd-4c49-b101-117626ed6cd4" class="k-alt" style="height: 49px;"><td role="gridcell" style="text-align:center;">Україна</td><td role="gridcell" style="text-align:left;"><a title="ТОВ Палітра">Палітра</a></td></tr>


Iliana Dyankova
Telerik team
 answered on 24 Mar 2015
2 answers
143 views
I am using a REST service to populate a grid. One of the data items returned in the dataSource is an array with a single value; like this:

"Assignee": ["John Doe"]

When I attempt to display this in a grid column, it simple shows [object Object] since it is an array and not a string I assume. So I used a column template to get the value to display: columnItem.template= "#= Assignee.filter(Boolean) #" and this works fine

My issue comes in when I try to use the filter row field for this column. Doing so results in this error: TypeError: "".toLowerCase is not a function. This also happens if I use the standard filter menu option.

So my question would be, is there something else that can be done to get the filtering to work in this scenario? I have not yet tried setting a schema that states the Assignee column is text. That's next, but thought I would post my question here as I've spent an evening trying to figure out a solution to no avail.

Any insight or assistance is greatly appreciated and I can provide more info if anything is unclear.

Thanks
Bill
Top achievements
Rank 1
 answered on 23 Mar 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
Drag and Drop
Map
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?