Hello,
I want to have a DropDownList in Toolbar ButtonDropDown )(see attached Picture) - is this possible?
robert
Hello,
If I use the following code to remove a row in the grid and the grid has Aggregates/Groups this Aggregates and groups are not refreshed...
(without Aggregates/Groups it works) see attached picture...
Hello,
I have the following Grid:
@(Html.Kendo().Grid<dynamic>()
.Name(
"gridEQ"
)
.Columns(columns =>
{
columns.AutoGenerate(
true
);
})
.Pageable()
.Sortable()
.Scrollable()
.Selectable(s => s.Mode(GridSelectionMode.Multiple))
.NoRecords()
.Filterable(f => f.Enabled(
false
))
.AutoBind(
false
)
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(100)
.Read(read => read.Action(
"ReadAsync"
,
"Home"
))
)
)
If I use the Read Action (synchron) like this and an error on the Server exists the error Event of the grid datasource is raised:
public
IActionResult Read(
bool
execute,
string
queryJson,
string
optionsJson, [DataSourceRequest] DataSourceRequest request)
{
try
{
var query = eqService.GetQueryByJsonDict(queryJson.ToJsonDict());
var sql = eqService.BuildQuery(query, optionsJson.ToJsonDict());
if
(execute)
{
SqlConnection c =
new
SqlConnection(
this
.cache.Get(
"ExecuteConnectString"
).ToString());
result = c.Query<dynamic>(sql, commandType: System.Data.CommandType.Text);
return
Json(result.ToDataSourceResult(request));
}
catch
(Exception ex)
{
return
Json(ex);
}
}
If I use the AsyncRead Action like this and an error on the Server exists the error Event of the grid datasource is not fired:
public
async System.Threading.Tasks.Task<ActionResult> ReadAsync(
bool
execute,
string
queryJson,
string
optionsJson, [DataSourceRequest] DataSourceRequest request, CancellationToken cancellationToken)
{
try
{
var query = eqService.GetQueryByJsonDict(queryJson.ToJsonDict());
var sql = eqService.BuildQuery(query, optionsJson.ToJsonDict());
if
(execute)
{
SqlConnection c =
new
SqlConnection(
this
.cache.Get(
"ExecuteConnectString"
).ToString());
result = await c.QueryAsync<dynamic>(sql, commandType: System.Data.CommandType.Text, cancellationToken: cancellationToken);
return
Json(result.ToDataSourceResultAsync(request));
}
catch
(Exception ex)
{
return
Json(ex);
}
}
Why this?
What I'm missing?
robert
I'm trying to setup a grid with Multiple, Row based selection in combination with InCell editing. The issue is that a click of an editable cell causes selection of that row (and messes up existing selections). I thought I could wire up my own click event and determine if a clicked cell was editable, then disable the selection, however I can't find a way to remove the select event that is connected to the containing table of the grid.
In trying to unbind the event, it appears since it was not bound via jQuery, jQuery can't unbind it. Any other suggestions for how to accomplish this combination of functionality with the grid control?
Thanks in advance - Greg
I have been reading this: http://www.telerik.com/support/code-library/using-multiselect-in-grid as I want to implement a multiselect in a InCell, batch(true), ajax grid.
Does this still apply in Core or is there a new way to implement this?
Please if you could guide me to a full CRUD example which also shows ViewModel binding as well. Thank you.
Hello,
if you navigate through the listview items, the parents aria-activedescendant is never updated. Just the elements get an updated ID attribute. This is a wrong behaviour. Every item needs an ID and the aria-activedescendant needs to be updated.
„When the composite widget contains focus and the user presses a navigation key that moves focus within the widget, such as an arrow key: Change the value of aria-activedescendant on the container to refer to the element that should be reported to assistive technologies as active“ (http://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).
I would also prefer to get an updated aria-selected on navigate and not on "mark" an item. You should test the widgets with a screenreader like JAWS. When I navigate through the listview, the screenreader is not triggered, so it is impossible for a person who relies on a screenreader to control this widget.
Hello,
the buttons of the dialog are defined as "role=toolbar". In this case the buttons need to be controlled by the arrow keys and to disable the tab function.
"For a horizontal toolbar (the default):
Left Arrow: Moves focus to the previous control. Optionally, focus movement may wrap from the first element to the last element.
Right Arrow: Moves focus to the next control. Optionally, focus movement may wrap from the last element to the first element."
Also the "role=toolbar" should just be set, if the item count is three or more.
"Use toolbar as a grouping element only if the group contains 3 or more controls."
Source: https://www.w3.org/TR/2014/REC-wai-aria-20140320/roles#toolbar
You should remove the "role=toolbar" or just set it with three items or more and add the arrow control.
Hi, I am working with the api for test and I can't expand or collapse the field in the pivot.
Somebody can help me with this issue.
Hello,
I am wondering why the pagination in i.e. the ListView can't be focused (tabindex -1 is set). Is there a special reason for this construction? An external accessibility company is testing our applications and claiming that the pages and navigation arrows must be focusable. The "page up/down" shortkeys are not sufficient in our case. I now must run a script to remove the tabindex=-1 you set in the pagination.