Telerik Forums
Kendo UI for jQuery Forum
1 answer
1.5K+ views

Hi,

I would like to use a grid that will data. The data cannot be edited/deleted once saved. But I want the ability to add a new row. The add new row can be via popup (preferable) or inline. Is this possible? 

All examples I've seen have the Edit/Delete options on each row. When a new row is added these buttons are Save and Cancel...

If using inline editing I want no Edit/Delete buttons to be visible but when a row is added I need the Save Cancel.... better still if I have a popup for adding a new row then I would not need a column for the Edit/Delete.

Thanks.

Stefan
Telerik team
 answered on 13 Jul 2016
1 answer
5.5K+ views
I'm Using Kendo UI MVC.I need a MultiSelect with checkbox for each item to allow me select multiple of items.I need same layout for existing kendo UI multiselect.

Could you please share me the sample example?
Georgi Krustev
Telerik team
 answered on 13 Jul 2016
3 answers
174 views

Hi

I'm trying to use custom theme builder. http://demos.telerik.com/kendo-ui/themebuilder/ but it generates corrupted css now. It used to work correctly back in April.

 

.k-slider-horizontal .k-tick {
  background-image: url('url("http://kendo.cdn.telerik.com/2016.2.607/styles/Metro/sprite_2x.png")/slider-h.gif');
}
.k-slider-vertical .k-tick {
  background-image: url('url("http://kendo.cdn.telerik.com/2016.2.607/styles/Metro/sprite_2x.png")/slider-v.gif');
}

Could you please fix it? Also, is there anyway to specify local path?

Iliana Dyankova
Telerik team
 answered on 13 Jul 2016
5 answers
954 views
How do you allow clicking on a hyperlink in the Editor? Is this possible and how do I enable this? I see that you have them in your Editor demo, but I cannot click on them to open there either.
Ianko
Telerik team
 answered on 13 Jul 2016
2 answers
404 views

I have a column which creates a dropdown list from a foreign key value. 

I change the value in my application, the variable value changes but the drop down list does not update.

var dashboardTypeNames = [];
var menuNames = [];

columns: [              

              { field: "DashboardTypeId", values: dashboardTypeNames, title: "Dashboard Type" },
              { field: "MenuId", values: menuNames, title: "Menu" },              
        ],

On start I populate the dashboardTypeNames array with data using ajax the selected item value is then passed to another ajax which i want to populate the second dropdown I have an onchange function which gets the value of the selected item.

Anyhelp would be appreciated

Boyan Dimitrov
Telerik team
 answered on 13 Jul 2016
3 answers
201 views

Hi,

I'm using kendo with Angular, and looking for a way to format the tooltip with thousand coma seperator (what I have now, is not working)

and also have a number in the donut.

I know how to do it in JS but not in Angular..

this is my code (it's all on the html page) , can you please help me?

 

 

<div class="panel panel-default" style="width: 530px; margin-left:10px;float: left;">
 <div class="panel-body">
   <div 
kendo-chart 
k-title="{text: 'POR vs Burden', color: '#3d3c3c'}"
k-legend="{ position: 'bottom' }" 
k-series-defaults="{ type: 'donut', startAngle: 270, labels: {
   visible: true,
holeSize: 45,
   background: 'transparent' }}"
k-series="[{
name: 'Value',
               field: 'Value',                
               categoryField: 'Category',
              labels: {
               visible: false
           },
                        holeSize: 70,
               visibleInLegendField: 'visibleInLegend',
               padding: 10
             }]"
            k-series-colors="['#b2473e', '#eb8a44']"
   k-tooltip ="{visible: true, format:'{0:N0}'}"
   k-data-source="burdenMoneydata"     
   style="height: 300px; width: 500px;">
</div>
 </div>
</div>

Daniel
Telerik team
 answered on 13 Jul 2016
5 answers
981 views

I use the functionality of the multiselect to add or remove items, but I need a confirmation before an item will be deleted.

So I use the DataBound-Event to save the current values an everytime the Change-Event is triggered I compare the current values against the previous:

 function onChange() {
        var previous = this._savedValues;
        var current = this.value();
        if (current.length < previous.length) {
            var diff = $(previous).not(current).get(0);
            if (diff != null) {
                var memberName = diff.substring(diff.indexOf('CN=') + 3, diff.indexOf(','));
                var string = 'Delete' +  memberName + '?';
                if (confirm(string.replace('{0}', memberName))) {
                    console.log("confirmed"); // nothing more happens here
                }
                else {
                    //reset;
                    this.value(previous);
                }
            }
        }
        saveCurrent(this);
    } 

    function saveCurrent(multi) {
        multi._savedValues = multi.value().slice(0);
    } 

    function onDataBound() {
        saveCurrent(this);
    }​

The problem is: This doesn't really work properly. If I add and remove some items, the multiselect deletes more items than I want to remove. 

 

Kiril Nikolov
Telerik team
 answered on 13 Jul 2016
1 answer
325 views

Hello,

A question about validation in kendo UI datasource.

I have a kendo grid and this grid has defined an editor template which is a custom directive 'tagSearch'. This custom directive has an input element into it with type text:

 editor: function (container, options) {
                                    var tagSelection = $('<div name="' + options.field + '"><tag-search></tag-search></div>');
                                    tagSelection.appendTo(container);
                                }

 

In validation method I have the following code (into dataSource):

 

  schema: {
                            model: {
                                id: "itemId",
                                fields: {
                                    tag: {
                                        type: "string",
                                        validation: {
                                            required: true,
                                            tagvalidation: function (input) {
                                                if (input.is("[type=text]")) {
                                                   
                                                  if(...some validation...){

                                                     input.attr("data-tagvalidation-msg", "This tag is already added!");

                                                     return false;
                                                    }
                                                return true;
                                            }
                                        }
                                    }
                                }
                            }
                        }

 

But the validation message with the text "This tag is already added!" does not appear. So what could be the possible reason(s) for this issue

 

Thanks and Regards!

Rosen
Telerik team
 answered on 13 Jul 2016
1 answer
196 views

Hello,

are there any plans to support Bridge.NET? It would be nice if there were Kendo UI Bridge.NET type definitions available. They might be generated automatically from TS definition files.

Petyo
Telerik team
 answered on 13 Jul 2016
10 answers
3.8K+ views
Using the MVC wrapper I create the grid.

I need to tell the grid to not render the alternative style of alternating lines. Right now it adds a .k-alt to every other TR

Is this possible?
SpicyMikey
Top achievements
Rank 2
 answered on 12 Jul 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
Drag and Drop
Application
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?