Telerik Forums
Kendo UI for jQuery Forum
1 answer
103 views

HI,

We are using asp.net mvc kendo grid with checkbox.

 

For checkbox we are using below line.

                        columns.Select().Width(50);

 

But very difficult to control checkbox events (onchange)

 

Most of the time not working. I need to get all checked and unchecked rows in onchange event while changing. But not able to control. We can get selected rows. But not unchecked rows. While unchecking I should get the unchecked rows.

Please help me to achieve.

 




            )
        }

Anton Mironov
Telerik team
 answered on 20 Nov 2020
2 answers
247 views

I have around 100 or sometime 400 plus legends in my charts so how to control the legends.

Eg. If there are 50 plus legend then add scrollbar to legends.

Dojo -

https://dojo.telerik.com/@vishal14/eFuROQuB

Rohan
Top achievements
Rank 1
Veteran
 answered on 20 Nov 2020
1 answer
173 views

Hi,

 

I am trying to make my web application accessible using screen reader(NVDA).

 

I am using a kendo dialog and the screen reader on pressing the H key says no header found when there is already a title for the dialog.

I have tried to add the header tag as well as the role='heading' attribute with no success

 

Example: https://dojo.telerik.com/ILESolAY 

 

Can you please let me know if this is possible with kendo dialog, if yes can you please provide an example of the same.

 

Thanks in advance

Ivan Danchev
Telerik team
 answered on 19 Nov 2020
1 answer
283 views
Hi,

I am trying to make my web application accessible using screen reader(NVDA).

I am using a kendo dialog and the screen reader on pressing the H key says no header found when there is already a title for the dialog.
I have tried to add the header tag as well as the role='heading' attribute with no success

Example: https://dojo.telerik.com/ILESolAY 

Can you please let me know if this is possible with kendo dialog, if yes can you please provide an example of the same.

Thanks in advance
Ivan Danchev
Telerik team
 answered on 19 Nov 2020
1 answer
350 views

Hi,

 

On my page i have two kendo dialog window and both are having the same div class and trying to close the window using following code

 

window.parent.$('.k-window-content.k-content.k-window-iframecontent').data('kendoWindow').close();

 

But above code only close the first window not the second one. I want to close the second window.

NOTE:window.parent.$('.k-window-content.k-content.k-window-iframecontent').length;   

above code returns

returns 2.

 

 

How can i close the second window instead of first one?

 

Kindly suggest.

Stoyan
Telerik team
 answered on 19 Nov 2020
1 answer
259 views

This is regarding ADA compliance issues we are JAWs as screen reader.I applied Navigatable() property When i navigate through Column cells its reading as Column 0  row 0 . I am using IE 11 browser. Any Solution for that it should read the column name and value.

 

Regards

Mohammed

Angel Petrov
Telerik team
 answered on 19 Nov 2020
1 answer
198 views
How do I make KendoGrid accept simple json data (array of items), instead of having to return a jsonp with a callback? Currently all the examples requires jsonp.
Nicholas
Top achievements
Rank 1
 answered on 19 Nov 2020
14 answers
1.9K+ views
Where should I be looking to find simple examples for Binding to MVC 4.0 datasources?

For example where is the document to

@(Html.Kendo().DropDownListFor(model => model.CarModel))

And all the other 'For' extensions.

Thanks
Pat

Aleksandar
Telerik team
 answered on 18 Nov 2020
3 answers
196 views

Hi,

I am using the latest version of Kendo UI i.e. 2017.3.921. I am trying to include in my solution the kendo-pivot but it seems that some of the features are not working:

1. The configuration option sortable enables the "Sort Ascending / Descending" options in the pivot grid BUT when clicked they do nothing. I tried in local binding demo and added the sortable: true just below the filterable property, and it does not work. I tied the same in the documentation of the sortable configuration setting but the dojo example does nothing

2. I have a kendo-pivot bound to a datasource with remote data of json type. I perform a read operation, the kendo pivot as well as the kendo configurator is populated with data. The pivot has only one Row dimension and no column fields (one measure, only). Should I expand the Row dimension to all its values and force a requery i.e. datasource.read() again the read function of the transport definition is execute OK BUT the statement options.sucess fails with the exception "cannot read property value of undefined"

 

function preparePivotDS(espqParams, esOptions) {
                var qParams = angular.isFunction(espqParams) ? espqParams() : espqParams;
 
                var xParam = {
                    transport: {
                        requestEnd: function(e) {
                            var response = e.response;
                            var type = e.type;
                            console.log(type); // displays "read"
                            console.log(response.length); // displays "77"
                        },
 
                        read: function(options) {
 
                            var pqOptions = {};
 
                            var executeParams = qParams.Params;
                            if (executeParams instanceof esGlobals.ESParamValues) {
                                if (!executeParams.isValidState()) {
                                    var err = new Error($translate.instant("ESUI.PQ.PARAMS_MISSING"));
                                    options.error(err);
                                    throw err;
 
                                }
                                executeParams = executeParams.getExecuteVals();
                            }
 
                            esWebApiService.fetchPublicQuery(qParams.GroupID, qParams.FilterID, pqOptions, executeParams)
                                .then(function(pq) {
                                    pq = pq.data;
                                    options.success(pq.Rows || []);
                                })
                                .catch(function(err) {
                                    $log.error("Error in DataSource ", err);
                                    options.error(err);
                                });
                        },
 
                    }
                };
 
                if (esOptions) {
                    angular.extend(xParam, esOptions);
                }
 
                return new kendo.data.PivotDataSource(xParam);
            }
Alex Hajigeorgieva
Telerik team
 answered on 18 Nov 2020
5 answers
1.1K+ views
I have a selectable, navigatable and editable grid. After I enter a
value in a cell, I have to change the value in the cell under the
updated cell. To show the updated values of both cells, I have to
refresh the grid. When I do that, the edited cell loses focus. I found a
way to refocus the last edited cell during the save event:

save: function (e) {
    var focusedCellIndex = this.current()[0].cellIndex;    //gets the cell index of the currently focused cell
 
    //...some dataItem saving (dataItem.set()) logic...
 
    this.refresh();    //refreshing the grid instance
 
    setTimeout(function () {    //refocusing the cell
        return function () {
            var focusedCell = $("#grid tr[data-uid='" + dataItem.uid + "'] td:nth-child(" + (focusedCellIndex + 1) + ")");
            $('#grid').data('kendoGrid').editCell(focusedCell);
        }
    }(), 200);
}

The problem is that this works for the first time, but if I try to
re-edit the same cell again, the cell loses focus. When I try to debug,
it seems that this.current()[0].cellIndex returns 0 in the second attempt, and because of that cell focusing isn't working anymore.

Does anyone have any idea why this.current() works for the 1st time, and not for the 2nd time? Are there any other approaches for refocusing the cell?
Anton Mironov
Telerik team
 answered on 18 Nov 2020
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?