I have a form, where people can enter text and also add file with it. The problem is that, the file should not be required. At the moment the uploader does not "upload" when no files selected.
Is it possible to make the file request even if file is not selected, so only metadata is posted.
Example:
Hello,
1.) User open page with grid
2.) They select filter and choose one of this options: isnull, isnotnull, isempty, isnotempty.
3.) Field for value is still visible. It should be hidden because it is useless in this context.
Is it possible to hide it? Does the support plan to implement it in the future release?
Is there any way to set a maxlength attribute on the input of every cell. I was hoping I could accomplish this with out using validation.
Thanks!
Hi,
The current implementation of kendo stock chart samples all the data points. In my case, when I drag right on the stock chart, fetches remote data and bind it to a local DataSource using add(). Let's say If I get 100 data points with values for each category nearer, chart renders only a few data points.
eg. This is the data I get on drag
[{"time":"2018-07-26T10:43:11.539927643Z","value":46},{"time":"2018-07-26T10:43:41.404421587Z","value":46},{"time":"2018-07-26T10:44:12.939918256Z","value":46},{"time":"2018-07-26T10:44:40.589413526Z","value":46},{"time":"2018-07-26T10:45:10.998136847Z","value":46},{"time":"2018-07-26T10:45:42.88296681Z","value":46},{"time":"2018-07-26T10:46:14.760766456Z","value":46},{"time":"2018-07-26T10:46:42.953234055Z","value":46},{"time":"2018-07-26T10:47:13.378606585Z","value":46},{"time":"2018-07-26T10:47:44.152430668Z","value":46}]},{"device_id":"00204AX5D72GGIJ4Z0HX1BLA5S2TTFOS","points":[{"time":"2018-07-26T10:43:25.990936424Z","value":38},{"time":"2018-07-26T10:43:58.83281015Z","value":38},{"time":"2018-07-26T10:44:33.114622846Z","value":38},{"time":"2018-07-26T10:45:02.558993785Z","value":38},{"time":"2018-07-26T10:45:42.009941143Z","value":38},{"time":"2018-07-26T10:46:09.499015043Z","value":38},{"time":"2018-07-26T10:46:44.329702609Z","value":38},{"time":"2018-07-26T10:47:14.744901433Z","value":38},{"time":"2018-07-26T10:47:50.48844174Z","value":38}]
eg: This is how I assign above json to respective category
Lets say above data array is assigned to a variable called 'points'
points.forEach(function (data) {
var _payload = {};
_payload[deviceId] = data.value; // can be different for another series data
_payload.date = new Date(data.time);
chart.data_source.add(_payload); // chart is kendo-stock-chart reference obj
});
In the above example chart data_source holds whatever payload added. But I could see only few data points because of default sampling algorithm. I have implemented pan and zoom on kendo chart but, it only works with sampled data.
So, I want to have plus and minus icon on the chart as an overlay. When I click on plus icon chart should render hidden data points.
Hey,
first of all here's a Dojo showing the situation:
https://dojo.telerik.com/aPaqUZOX/2
I have two valueAxes and two series, each bound to another valueAxis. As long as all values in the series are positive all works as expected, but as soon as a single value goes negative it suddenly looks really weird. The reson for that is that both valueAxis' crossthe categoryAxis at different values. mpg corsses at 0 (which is fine) but l100km crosses at -8 which is not what I'd expect.
I looked through the API and found a really promising option for the valueAxes which was "axisCrossingValue". But as you can see in the Dojo I either misunderstood this option or it just isn't working in this example.
How can I get both valueAxes to cross the categoryAxis at 0?
Best wishes
indian
I have a grid that uses inline editing, with several of the columns containing required data. When in add/edit mode, I need to add an asterisk to the column header label of each "required" field. I know that the required fields are set properly, as I get a required validation error when leaving these fields blank during either an add or update.
I've looked through the documentation for datasource and datesource.data objects, but no luck. Where can I locate the required property for each column/field in the grid data?
I'm creating a treeview in MVC using the TreeViewBuilder. like this
Html.Kendo().TreeView().Name("TreeViewTemplateBiding")....
I need to get access to the treeview instance in a script. It's not an event, so I can't rely on the tree passing the instance to my function.
I'm trying, as instructed:
var myTree = $("#TreeViewTemplateBiding").data('kendoTreeView')
This does not work, it returns 'undefined'. In fact I can see that $("#TreeViewTemplateBiding") has no data at all.
Please assist.
Hello, i've tried the various css changes i've listed further below to try an get the more of the text values to show in a read only textbox and there appears to be plenty of space left, but its not being used by the textbox, please see attachement for the screen shot, so is there a way to make the textbox show about 30% more of the value on the screen, thanks very much!
<
td
width
=
"9%"
class
=
"lbl-text"
>Position:</
td
>
<
td
width
=
"16%"
>
<
input
class
=
"k-textbox.large"
type
=
"text"
disabled
=
"disabled"
style
=
"border:none"
data-bind="value:
bipVm.positionEmp" />
</
td
>
<
td
width
=
"9%"
class
=
"lbl-text"
>Description:</
td
>
<
td
width
=
"16%"
>
<
input
class
=
"k-textbox.large"
type
=
"text"
disabled
=
"disabled"
style
=
"border:none"
data-bind="value:
bipVm.description" />
</
td
>
<
td
width
=
"9%"
class
=
"lbl-text"
>Division:</
td
>
<
td
width
=
"16%"
>
<
input
class
=
"k-textbox.large"
type
=
"text"
disabled
=
"disabled"
style
=
"border:none"
data-bind="value:
bipVm.divisionNameEmp" />
</
td
>
<
td
width
=
"9%"
class
=
"lbl-text"
>Agency:</
td
>
<
td
width
=
"16%"
>
<
input
class
=
"k-textbox.large"
type
=
"text"
disabled
=
"disabled"
style
=
"border:none"
data-bind="value:
bipVm.agencyNameEmp" />
</
td
>
/*.k-textbox,*/
.k-textbox {
overflow: hidden;
white-space: nowrap;
}
.k-textbox.medium{
width: 200px !important;
}
.k-textbox .large {
width: 320px !important;
}
.wide-full {
width: 100%;
}