Telerik Forums
Kendo UI for jQuery Forum
9 answers
9.8K+ views
Hi, 

How can I align, center and define the width of a grid cell

Thanks in advance
Ed
Top achievements
Rank 1
 answered on 25 Jan 2019
1 answer
591 views

Hello support,

With me updating to Kendo.Mvc.dll 2018.3.1219.545 I'm getting som Code CS1702 warnings (see screenshot) when using kendo widgets tag helpers (i.e. @(Html.Kendo().DropDownListFor or Html.Kendo().DatePickerFor).

I have System.Web.Mvc version 5.2.7.0 referenced in the asp.net mvc 5 project and in my root web.config I have this entry in my <runtime> section:

    <dependentAssembly>
        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
        <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
      </dependentAssembly>

I'm not sure how to fix these warnings. Can you help?

Thanks in advance

Best regards

Morten

Dimitar
Telerik team
 answered on 25 Jan 2019
4 answers
113 views

Hello

 

After upgrading from jQuery 3.1.1 to 3.3.1 we have an issue with last row in frozen area

Height of frozen area is smaller than height of horizontally scrollable area (see image in attachment)

Also see Dojo https://dojo.telerik.com/ODISarEn

 

Thank you

Viktor Tachev
Telerik team
 answered on 25 Jan 2019
2 answers
389 views

Dear Telerik,

 

I have a problem with the 'Add New Record'-Functionality.
When my Webservice is returning an empty array I cannot add a new record with the 'Add New Record'-button.
The empty row appears for a brief period of time(less than 1 second) and disappears again.

The Problem does not occur when get a filled array from the webservice.

Can you please help me ?

 

Henri

Tsvetina
Telerik team
 answered on 25 Jan 2019
7 answers
3.7K+ views

Hi All,

My grid displayed all data except for one column and it's showing as [object object] and I can't figured out where the problem is.  Below is my code

results return from JSON

...

var data = { data: gridData, total: gridData.length };
options.success(data);

 var data = { data: kendoViewModel.BatchGridData, total: kendoViewModel.BatchGridData.length };
                            options.success(data);

 }

            },
            serverPaging: true,
            pageSize: 20,
            schema: {                
                data: "data",
                total: "total",
                model: {
                    fields: {
                         ReportList: { type: "object", editable: true },                                    
                    }
                }
...

...

columns: [
    {
        width: 50,
        headerTemplate: '<input type="checkbox" id="checkAll" />',
        template: '<input type="checkbox" class="checkbox" />'
    },   
    {
        field: 'ReportList.Description',
        title: 'In Reports',
        width: 135,
        template: '#=ReportList#',      //[object object]
        editor: function invoiceReportsDropDown(container, options) {
            if (options.model.ReportList.length <= 1)
                return;
            $('<input data-text-field="Description" data-value-field="Id" data-bind="value:' + options.field + '"/>')
                  .appendTo(container)
                  .kendoDropDownList({
                      dataSource: options.model.ReportList,
                      dataTextField: "Description",
                      dataValueField: "Id",
                  });
        }

 

if I replace  template: '#=ReportList.Description#',  I get undefined.  Any help is appreciated.

 

TIA

Developer
Top achievements
Rank 1
 answered on 23 Jan 2019
1 answer
337 views

Hello,

Our designers asked us to us a pie chart which looks like https://bootsnipp.com/snippets/z8dD9 

We reviewed the documentation of https://demos.telerik.com/kendo-ui/donut-charts/donut-labels but we are not sure how to customize Kendo’s pie chart to match the requested design and especially the animation.

Can you please advise?

Thanks,

Ron.

Tsvetina
Telerik team
 answered on 23 Jan 2019
10 answers
861 views
Is it possible to have a line change from solid to dashed at some point, similar to the attached image? We'd like to do this to indicate the values transition from known to estimated values.
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 23 Jan 2019
5 answers
487 views

Hi,

After pacing the web and lots of forums, I still can not read a JSON file locally.

Can anyone help me ?

Here is my basic file for my tests, and my .json file on the right.

Forgive me if there are many mistakes. I start with Kendo UI

Thank you in advance for your precious help

Veselin Tsvetanov
Telerik team
 answered on 23 Jan 2019
1 answer
140 views

How can i set filterMenuInit in the grid with MVVM?

What is the name of property? data-menu-init?

Georgi
Telerik team
 answered on 22 Jan 2019
1 answer
119 views

We have a number of grids with a remote datasource, and on the "Add Record" functionality, you see the new record get inserted into the grid, and get passed to the editing template, but no Create event is sent to via the remote transport until you actually accept on the editor.  However, when we set up a ListView with a remote datasource and a "New" button, similar to your demo, the transport's remote Create event seems to fired immediately with the editing template.  This is obviously a problem because the fields haven't been filled in, and also a remote record is being created before we know if we want that or not.

 

Does ListView behave differently than Grid with a remote datasource when adding a record?  I can't see where this would be desired behaviour, or if it is, how it would be turned off.  I can't seem to see how we might have messed up defining the datasource.  You have a demo with add/edit and one with remote datasource, but not both together, and we're going to try and merge them to give an running example of what we are seeing.

Troy
Top achievements
Rank 1
 answered on 21 Jan 2019
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?