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

Hi,

I have a issue when to change the cell background dynamic, please refer to attach screenshot, below is  the detail.

1, The PartNo, Spec, CmdtyCode are editable field, and they are colored as orange, and there is no color for other un-editable fields.

2, What I want is if the PartNo is blank, then set the CmdtyCode, Spec as editable and orange. If PartNo is not blank, then set the CmdtyCode, Spec as un-editable and not set color.

Now I can changed cell background and edit status normal. But if I lock the CmdtyCode field and other fields, I cannot get the correct index of locked editable field, is there any one can help me?

Dimiter Topalov
Telerik team
 answered on 20 Dec 2016
11 answers
466 views

I have an application that includes a Grid with a DataSource that has a method attached to the RequestEnd event (code below). This works perfectly with Chrome, Firefox, and Edge. However, the RequestEnd event is never raised when IE 11 is used. Why is this and how can it be resolved?

@(Html.Kendo().Grid<MVCTimesheetApplication.Models.Timesheet>()
            .Name("timesheetGrid")
            .TableHtmlAttributes(new { style = "table-layout: fixed; " })
            .Columns(columns =>
            {
                 // columns set up here...
            })
            .Navigatable()
            .Editable(editable =>
            {
                editable.DisplayDeleteConfirmation(false);
                editable.Mode(GridEditMode.InCell);
            })
            .DataSource(dataSource => dataSource
                .Ajax()
                .Aggregates(aggregates =>
                {
                    //aggregates configured here...
                })
                .Batch(true)
                .ServerOperation(false)
                .Events(events => events.Error("timesheetGrid_error_handler"))
                .Events(events => events.Change("timesheetGrid_change"))
                .Events(events => events.RequestEnd("timesheetGrid_requestEnd"))
                .Model(model => model.Id(t => t.rowId))
                .Create(create => create.Action("Index_Create", "Home").Data("getCreateParams"))
                .Destroy(destroy => destroy.Action("Index_Delete", "Home").Data("getUpdateParams"))
                .Read(read => read.Action("Index_Read", "Home").Data("getReadParams"))
                .Update(update => update.Action("Index_Update", "Home").Data("getUpdateParams")
           )
        )
        .Events(events => events.DataBound("timesheetGrid_databound"))
    )

 

Thanks

 

Marin Bratanov
Telerik team
 answered on 20 Dec 2016
4 answers
259 views
Here's example: http://dojo.telerik.com/EhijI
When I open column menu, hover filter, and then hover input, filter menu is closing. Is this a bug?  Why this happens? Is there any way to escape this strange behavior? 
Marin Bratanov
Telerik team
 answered on 20 Dec 2016
5 answers
207 views

I have been looking at the example for creating a menu from a JSON object and haven't found a list of supported properties.

http://docs.telerik.com/KENDO-UI/web/menu/overview#initialize-the-menu-using-json-data-object

They list several in the example, but is that a complete list? On the URL for example is there a way of having it open in a new window (target="_blank") vs. a redirect?

I would also like to be able to assign a javascript function to a click even, and have seen on click used in different examples, but is it supported for JSON.

Overall I have found a lot of examples and information of item manipulation, but very little on getting it to do what you want when you click it. I don't really want to have a nightmare of a switch statement in the on select event.

Thanks

Randy

 

Dimiter Madjarov
Telerik team
 answered on 20 Dec 2016
3 answers
181 views

Is there any way to Hide a specific Grid Row when its DetailTemplate grid contains no data. hope that makes sense...appreciate it

 

Dimiter Madjarov
Telerik team
 answered on 20 Dec 2016
5 answers
643 views

I have an upload object I am trying to use in an Angular app.  I have used the samples on the demo page and can not seem to get these items to work.  Below are both my HTML and the validation section from my javascript.

<input name="files" ng-model="vm.file" kendo-upload k-options="vm.uploadOpts" type="file" />
 
      vm.uploadOpts = {
        async: {
          saveUrl: "{0}FileManagement/Save".format(GMT.Config.baseApiUrl),
          autoUpload: true
        },
        validation: {
          maxFileSize: 304,
          allowedExtensions: ["upd", "txt", "xls", "doc", "docx", "xml", "xlsx", "csv", "xlsm"]
        },
        error: this.onError,
        success: this.onSuccess
      };

 

Why is it not utilizing this information?

Dimiter Madjarov
Telerik team
 answered on 20 Dec 2016
1 answer
339 views

I have a treeview with three hierarchy which has checkboxes along with them. I need to move only those data for which checkbox is checked to another treeview.

refer the dojo here; 

http://dojo.telerik.com/eGINo/2

Can anybody let me know any idea to achieve this? 

Ivan Zhekov
Telerik team
 answered on 20 Dec 2016
1 answer
757 views

Hi Team,

We are trying to use Kendo UI Grid with angular directive in our angular project.

We are able to load the grid and also have filter menu checkboxes enabled. we want mark the check boxes checked on load. we tried to do that in the below example. it doesn't work. can you please give us some clues to make way forward in this.  

http://dojo.telerik.com/AHIvu

 

Thanks,

Narendra

Daniel
Telerik team
 answered on 20 Dec 2016
1 answer
150 views

For the modern mobile browsers now supports the <input type="date"> very well with it's own calendar date selector control. 

Is there a way to have the KendoUI DatePicker use the browser calendar selector if available? Or is this something we need to code around to make this scenario work?

Yes, the KendoUI does work on mobile, but the users are asking to use their built in picker instead for ease of use and it makes the web page fell more like an phone app. 

 

Thank you

Dimiter Topalov
Telerik team
 answered on 20 Dec 2016
3 answers
303 views

I am trying to make the chart attached, and there are two main problems.

1. Is it possible to position the labels? The defaults have them overlapping (this is also clear on the demo chart at http://demos.telerik.com/jsp-ui/radar-charts/index)

2. Is it possible to add background colours per the attached?  These are basically for grouping. I tried adding another series, but as a radarArea it doesn't apply the colours except to the tooltips (and overlaps the blue area of the first series), and as a radarColumn chart is conceals everything else (even if that is the first series).

Can you help me?

 

Note: I have no idea why the percentages are backwards in the screenshot - please disregard that.

Iliana Dyankova
Telerik team
 answered on 20 Dec 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?