Telerik Forums
Kendo UI for jQuery Forum
1 answer
507 views
Hi,
Is it possible to change detail row template based on the data in the grid?
For example, if I have a product column, I would like to use different detail templates for different products.Is that possible?

Thanks
Dimiter Madjarov
Telerik team
 answered on 25 Aug 2014
2 answers
184 views
so lets say that 

1.grid.dataSource.filter({
2. logic: "and" ,
3. filters: [
4.    { field: "UserDeviceCount", operator: "gt", value: 1 },
5.     { field: "EmailSent", operator: "neq", value: 1 },
6. ]
7.});

is equivalent to

1.select * from grid where userdevicecount > 1 and emailsent <> 1
 
How would I write this?

1.select * from grid where userdevicecount = 1 and ( remoteuse > 90 or officeuse > 90 or unknownuse > 90 )
Petur Subev
Telerik team
 answered on 25 Aug 2014
3 answers
182 views

I'm using Kendo UI 2014 Q2 and referencing "kendo.all.d.ts" from a typescript class in order to create a kendoChart.

Visual Studio is complaining with the following error:

"Error 1 The property 'geometry' does not exist on value of type 'dataviz'. C:\_s\Visual Studio Projects\Typescript\Kendo Views\Kendo Views\libs\kendo\typescript\kendo.all.d.ts 7779 44 Kendo Views"

Any ideas?

Steve

T. Tsonev
Telerik team
 answered on 25 Aug 2014
1 answer
412 views
Hi, 

There is already a post explaining how to use the new  masked textbox control for inline editing, however our needs are a little bit different.

Is there a way to use the masked textbox for formatting a phone number in a readonly grid? Kendo custom formats don't support phone formatting.

For the example below, (which also supports reordering the grid rows), we'd like to have the same appearance as in the attached image.
http://jsbin.com/teqidida/7/edit 


Please note one constrain, I'd like to avoid using a Template function for defining the format, as suggested in http://www.telerik.com/forums/kendo-tostring-not-working-as-expected

Thanks, I'll appreciate if you can point me to the right direction.

-Felipe.
Georgi Krustev
Telerik team
 answered on 25 Aug 2014
5 answers
257 views
Hi,

I'm developing an application using the map widget and the map requires a second click to load completely. The map opens up in a dynamically added splitter pane after the user clicks on an adjacent listview row.

Currently, when the map opens up in the second pane, only a part of it is visible in the pane. Clicking on the map causes the entire widget to display correctly. The desired behaviour is that the map would load completely when triggered by the list vie select event.

Here's some sample code and an image is attached below. This code is from the listview change function.

var menuDiv = jQuery("<div id = 'mapControlMenu'></div>");
                        var mapDiv = jQuery("<div id='map'></div>");

                        this.mapcontrolmenu = new MapControlMenu(menuDiv);
  
                        this.gpsviewer = new GPSViewer(mapDiv);

                        var parentSplitter = self.element.parent("#splitter").data("kendoSplitter");

                        // append a 100px collapsible pane
                        var newPane = parentSplitter.append({
                            size: "50%",
                            collapsible: false,
                            min: "50%",
                            max: "50%"
                        });

                        newPane.append(menuDiv);
                        newPane.append(mapDiv);
Please advise.

Thanks!
Andre




T. Tsonev
Telerik team
 answered on 25 Aug 2014
2 answers
228 views
I have an autocomplete control to call server code to get databack, from the server response, I see the data is passed back correctly, however, it's not populating the list, it shows "loading" icon forver, any idea.

Here is how I configure

  <input id="institutionAutoComplete" 
           data-role="autocomplete"
           data-placeholder="Type an institution name "
           data-min-length="4"           
           data-value-primitive="true"
           data-text-field="Name"
           data-bind="value: selectedInstitution,source: institutions" />
    <br />


var degreeVm = kendo.observable($.extend({
            institutions:new kendo.data.DataSource({
                transport: {
                    read: {
                        url: '@Url.Content("~/CommonData/GetInstitutionList")',
                        data: {
                            name: function(){
                                return $("#institutionAutoComplete").data("kendoAutoComplete").value();
                            }
                        },
                        dataType: "jsonp"
                    }                    
                },
                schema: {
                    data:function(data) {
                        return data;
                    }
                }
            }),
},@(Html.ToJson(Model)))); Here is the data I received back from server
0: {Id:11, Name:The Ohio State University, InstitutionIdentifier:810, City:null, StateId:null,…}City: nullCountryId: 0Id: 11InstitutionIdentifier: "810"Name: "The Ohio State University"StateId: null








Georgi Krustev
Telerik team
 answered on 25 Aug 2014
1 answer
214 views
Hi,

After a few hours of searching the interwebs I'm forced to ask it here in the hope someone points me to a very obvious page that explains it all. Is there an overview of all possible values (ui elements) that can be initialized with mvvm via the data-role attribute? 

For now I could find the ui-elements that I needed in the demo's/docs but now I run into a needed component that I cannot find. If an ui-element has no mvvm bindings (or is not translated for this construction) is it possible to create it myself?

I want to use the "colorpalette" inside the mvvm model and eventually pass my own palette to it.

Thanks in advance!
Atanas Korchev
Telerik team
 answered on 25 Aug 2014
2 answers
142 views
I notice if I try to touch and hold on text in a Kendo mobile view the copy and paste features don't come up, at least on Android.  Is there a reason for this?

Scott
RES
Top achievements
Rank 1
 answered on 25 Aug 2014
5 answers
1.0K+ views
Hello!

I have this little problem, I have huge amounts (260k +) combined with very little amounts (0,0001) in one chart, and sometimes in the first screen I get only very little amounts. The problem is with these very low amounts, my value Axis max value is also very very small, I wish to have a min value for the "max" attribute of my value Axis.

For example when I have lots of values that are 1 < x < 0, I want to see no bars on my chart, but with current options I see full bars, and value axis max value at 0,0002 something. Check the attached photos.

I wish to start with a default max value, but when I get higher values, I wish it to be updated. I used the max attribute for the valueAxis, but with that I cannot get to see my very high value data. Please find a solution to this conundrum.

Thanks and hope to hear back from you asap
T. Tsonev
Telerik team
 answered on 25 Aug 2014
1 answer
155 views
How do I allow for grid sorting by clicking on the grid headers if serveroperation is true.  I have a complex grid filtering and I need to use serveroperation(true)

Best Regards,
Mark Kilroy
Mark
Top achievements
Rank 1
 answered on 24 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
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?