We are currently utilizing Kendo version 2017.1.118, and I am experiencing some odd behavior in IE11 with tabs and data transferring between the grids.
When you are on tab 1 with a grid, and you dbl click an item it triggers my add function which adds that row to another grid on tab 2. The entire page then loses focus. I can no longer scroll the page, the grid, or even click my other tab unless I click somewhere in the window.
I initially solved this problem by utilizing the hack $("#tab1").trigger("click"); which would force a click. This enabled me to now be able to select tab 2, but for some reason it didn't fully enable focus back to the page, so I was still unable to scroll unless I clicked an element outside of the grid again. Unfortunately firing $("#tab1").trigger("click"); again did not solve the issue.
The main problem is that the page itself becomes unfocused when data is moved from one tab to another tab in IE11. I am not having this issue in any other browser and it only happens in IE11 when data is added to non-selected tab contents.
I'm trying to set NumericTextBox properties dynamically and directly in the <input /> tag. However, I can get decimals, restrictDecimals and format to have effect.
Here is my template:
<script type="text/x-kendo-template" id="tmpl">
#
var step = allowDecimals ? decimalStep : 1;
var decimals = allowDecimals ? 2 : 0;
var format = allowDecimals ? "" : "\#";
#
<span>#:fix#</span>
<input class="unit-count" type="number" value="#:count#" step="#:step#" min="0" data-decimals="#:decimals#" format="#:format#" />
</script>
Only value, step and min have effect on the configuration of the NumericTextBox.
I have tried with data-decimals="#:decimals#" and decimals="#:decimals#" with the same effect.
What properties can I set (and how) directly in the <input /> tag?
/Morten
Hello All
I'm running into an issue with the grid filter. The placement of the filter menu is not looking good. Need some inputs please.
Thanks.
Vijhay D.
As title says, I'm searching for the "afterInsertRow" event function in grid, with parameters "rowElement" - to which I can apply some css style or add a class, and "rowData" - from which I can get data source?
Basically, I need this function after the row is added to the table, to make some condition and apply style to it.
That style should remain no matter what other events I perform on the table, like sorting, filtering or whatever action is performed on table.
Hello all,
I used Kendo UI MultiSelect and Grid controls in my MVC project. There is one column called "Actions" with string value ( like "Read" or "Read, Create" or ...) on the Grid. When user click "Edit" command, Kendo MultiSelect control ( It located inside sub folder "EditorTemplates") will appear one that column to let user re-select the actions. The code worked file except failed to populate current values of the "Actions", I tred couples of way but no lucky so far. Can I get someone's Help?
Thanks in advance!
Below are pieces of code:
One of Grid columns:
columns.Bound(p => p.Actions).Width(200).Title("Actions").EditorTemplateName("Actions");
Multiple selection Control in "Actions.cshtml" view which inside "EditorTemplates" folder
@(
Html.Kendo().MultiSelectFor(m => m)
.Name("Actions")
.DataTextField("Text")
.DataValueField("Value")
.AutoClose(false)
.ClearButton(false)
.BindTo(new List<SelectListItem>() {
new SelectListItem() {Text = "Create", Value = "1" },
new SelectListItem() {Text = "Read", Value = "2" },
new SelectListItem() {Text = "Update", Value = "3" },
new SelectListItem() {Text = "Delete", Value = "4" } })
)
Hi, I use the "general discussions" section, as there's no FilterMenu section, and I think that this component is only used inside the grid. But, because we need to filter our datasource for the grid, and others containers, we decided to use the kendoFilterMenu directly outside of the grid.
I see that there's an operator named "isnullorempty".
I think it's a new one, because I don't see in the dataSource doc.
Nothing in the and in the grid doc too.
The only place I read about it is in the filterMenu doc
We'll certainly use it to filter text, to manage these cases: empty string, null, or undefined.
But, undefined are not returned.
https://dojo.telerik.com/@foxontherock/UMiQoGIJ
When I filter the field "text", with "Has no value", I get 1001 and 1002 in return, not 1003.
I don't think any combination of filters can return "undefined" value?
Can we edit the original filter method to make it apply the filter to undefined also?
Or should we absolutely need to create a custom filter function?
Thank you
Hi,
I am new to gantt chart. I am trying to integrate gantt chart into php application. To integrate this I have done the changes in demo code like below
$result = new DataSourceResult('mysql:host=localhost;dbname=sample;', 'root', '', array(PDO::ATTR_PERSISTENT => true)); By changing I can see the data in
console but it is not displaying in UI.Can any one help me in this
When downloading the pdf from the viewer, the file name is showing as Document.pdf. Is there anyway to customize that?
Thanks
Peter
@(Html.Kendo().PDFViewer()
.Name("pdfviewer")
.PdfjsProcessing(config => config.File(file => file.Data(Model.PdfInformation.PDFBase64)))
.Height(1200)
)
Apologies as this is a beginner question.
I have been trying to get uploads working, such as this one:
https://demos.telerik.com/kendo-ui/upload/async
But it does not work on my server, presumably because I am not running the Sample Service code.
I am not sure where to place the code from the "Sample Service" (which I know needs to be modified).
Where does this code get set up? Is it run as the Action of the form, or do I need it running on the server?
Thanks.