Telerik Forums
Kendo UI for jQuery Forum
1 answer
196 views
I have to create the kendo ui tree list with two way data binding. I have try with the kendo grid which is working but for kendo tree list it is not working. Please let me know if i am missing anything.
Kendo grid example :- http://dojo.telerik.com/OvUxU/2
Kendo tree list example :- http://dojo.telerik.com/@vinay/arAwo
Nikolay Rusev
Telerik team
 answered on 20 Apr 2016
3 answers
470 views

Hi Kendo,

I'm having rendering problem for Kendo grid with locked columns inside of Kendo window - the grid columns looks squashed together. See this plunk for problem demo.

In addition, on Kendo window restore, the grid gets squashed again - although I'm unable to reproduce it in the plunk. In my system, when I put a break point on the resize event function, I can see that when the kendo window is restored, my window content seems to be gone, and the window has a very tiny size.

help please!

ps. There are maximize, minimize event, but how come there's no event on restoring? 

Ama

Alex Gyoshev
Telerik team
 answered on 20 Apr 2016
1 answer
302 views
I have three checkboxes defined as below in my cshtml file:


            @(Html.Kendo().CheckBoxFor(e => e.Fruit)
                 .Name("FruitApple")
                 .Label("Apple"))
              <br />
            @(Html.Kendo().CheckBoxFor(e => e.Fruit)
                  .Name("FruitBanana")
                  .Label("Banana"))
               <br />
            @(Html.Kendo().CheckBoxFor(e => e.Fruit)
                  .Name("FruitCherry")
                  .Label("Cherry"))


Where Fruit is the property which is defined in my model class as below:  

       public string Fruit { get; set; }

I want all the checked checkboxes label text to be separated by comma and assigned as string value to my property 'Fruit'. 
For eg: If checkbox for Apple and Cherry is checked. I want to assign Fruit as Apple, Cherry.

But when I run my code, property Fruit is empty.  
  
How can I get this behavior?  
  
Thanks!
Alex Gyoshev
Telerik team
 answered on 20 Apr 2016
1 answer
207 views

Hi,

    I want to use a different template according to model for Detail Grid.  I saw 2 links with similar expecting features for this.  The first one didn't render anything and the second one render the template, but my AngularJs ng-show is not working.  When I use the template 1 (I have  3 templates) directly (to see the results, it works).  So, it is only when I use it in the directive that it does not work.

Simple Solution

AngularJs Directive

 

Any idea?

Thank you

Boyan Dimitrov
Telerik team
 answered on 20 Apr 2016
1 answer
425 views

Hi,

    Is it possible to create the custom popup editor dynamically?  I have a grid merging different objects would like like to change popup editor dynamically.  Usually, I used this form and it works fine:

editable: {
    mode: "popup",
    template: kendo.template($("#allRequestEditGridTemplate").html()),
    confirmation:"@Html.Raw(@LocString["STR_DeleteConfirmation"])",
},

However, I would like use something like this and it does not work.  I got correct template shown, but no update button....

edit: function (e) {
 
   var editWindow = this.editable.element.data("kendoWindow");
 
 
    if(e.model.CategoryType == 1 /*Document*/)
    {
            editWindow.content($("#docEditTemplate").html());
    }
    else if(e.model.CategoryType == 2 /*Piping*/)
    {
            editWindow.content($("#pipingEditTemplate").html());
    }
}

 

Thank you for your help

Boyan Dimitrov
Telerik team
 answered on 20 Apr 2016
2 answers
132 views

Hi

Please see screen attached. Any ideas why this may occur. I am looking for any pointers, as a starting point for my research.

 

Regards

Vladimir Iliev
Telerik team
 answered on 20 Apr 2016
6 answers
680 views
Hi,

I have a survey app where I need to validate if the number of checked checkboxes is in the valid interval.
The min/max values are set in an admin interface and are available as data attributes of the input field.
The fields also have a data attribute which stores the question id which they belong to, so they can be filtered by question.

So basically it looks like this:
<input type="checkbox" value="option1" data-question="1" data-min="1" data-max="3">
<input type="checkbox" value="option2" data-question="1" data-min="1" data-max="3">
<input type="checkbox" value="option3" data-question="1" data-min="1" data-max="3">
<input type="checkbox" value="option4" data-question="1" data-min="1" data-max="3">
<input type="checkbox" value="option5" data-question="1" data-min="1" data-max="3">

What would be the best practice to handle this?

Best Wishes,
Matt
Kiril Nikolov
Telerik team
 answered on 20 Apr 2016
3 answers
283 views
I have the following toolbar template:
<script type="text/x-kendo-template" id="template">
    <div class="toolbar" style="float: left">  
        <label class="customers-label" for="customers">Filter details by customer:</label>
        <input type="search" id="customers" style="width: 150px"/>
    </div>
    <div class="toolbar""> 
        <label class="shops-label" for="shops">Filter details by shop:</label>
        <input type="search" id="shops" style="width: 150px"/>
    </div>
</script>
I include it as follow in my grid:
rowTemplate: kendo.template($("#rowTemplate").html()),
But I also want the following buttons to be part of it:
toolbar: [{ name: "create" },{ name: "save" }, { name: "cancel" }],
How do I combine the 2, I have tried various ways, but to no avail. I also have a similar situation with the rowtemplate where I want to include the buttons for edit and destroy.

I have to add that I am pretty new to kendo and I looked at the available documentation but I cannot find an answer. Any help would be appreciated.
Dimo
Telerik team
 answered on 20 Apr 2016
10 answers
678 views

Hi,

    I read many thread talking about grouping not working with row template, but didn't find my problem with grouping and column template.

I have a simple grid (simplified version) here:

groupable: true,
  filterable: { extra: false },
  toolbar: ["create"],
  columns: [
                    { command: ["edit", "destroy"], title: " ", width: "200px" },
                    {
                        field: "Number",
                        title: "Numéro",
                        width: 140
                    },
 
                    {
                        field: "Parent",
                        title: "Parent",
                        template: "#= Parent == null ? '' : Parent.Number #",
                        editor: projectDropDownEditor,
                        filterable: {
                            extra: false,
                            field: "Parent.Number"
                        }
                    }
  ],

 

Because my parent column is a column template based on an object with Number and Id, grouping is not working.  Do you have any idea how to fix it?

 

Thank you for your help

 

Steve
Top achievements
Rank 1
 answered on 19 Apr 2016
1 answer
361 views
How to change the for time picker format to 24 hours in this example http://demos.telerik.com/kendo-ui/timepicker/angular
Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 19 Apr 2016
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?