Hi,
Having problems getting the spinner portion of the kendoNumericTextBox to show up when width is les than 140px. 150pxs is ok, but at 140px it does not move over to the left it starts getting partially hidden:
I am using Kendo version: 2023.3.1010. Is there a work around so the spinner buttons appear when less than 140 pixels in width? Moving up to a different version at this time is not an option unfortunately.
<table id="date-picker-table">
<tbody>
<tr>
<td class="date-cell" style="width:16%">
<label for="startDate">Start Date:</label>
<input id="startDate" style="width:180px" />
</td>
<td class="date-cell" style="width:19%">
<label for="numb-days">Number of Days:</label>
<input id="num-days" style="width:140px" />
</td>
<td class="date-cell">
<label for="endDate">End Date:</label>
<input id="endDate" style="width:180px" />
</td>
</tr>
</tbody>
</table>
Here is the initialization of the control in JavaScript:
$("#num-days").kendoNumericTextBox({
min: 0, // Minimum value
max: 9999, // Maximum value (4 digits)
decimals: 0, // Restrict to integers (no decimals)
format: "n0", // Display format for integers
restrictDecimals: true // Prevent decimal input
});
Any work around or quick patch would be awesome.
Regards,
George
I am using
kendo.drawing.drawDOM
to draw a chart from DOM into a template for exporting as a PDF. However the business want to add the custom parameters into the footer. This works but loses the default page numbering. I understand adding custom parameters overwrites the default params so I would like to know if there is a work around or correct way to do this.. One which will still allow us to correctly number the pages.
$scope.exportOther = function (objId, filename){
$scope.printDt = $.RGMPDate.onParseJSONUIDate(new Date());
const hiddenElement = document.getElementById('griddiv');
hiddenElement.style.visibility = 'visible';
kendo.drawing.drawDOM($(".chart-content-wrapper"), {
paperSize: "A4",
landscape: true,
margin: {
left: "2cm",
top: "2cm",
right: "2cm",
bottom: "2cm"
},
forcePageBreak: ".page-break",
scale: 0.5,
title: filename,
template: kendo.template($("#page-template").html())
(
{
pageNum: "",
totalPages: "",
fBasisSelectedLockedTxt : $scope.fBasisSelectedLockedTxt,
rgod: $scope.printDt,
fTimespanSelectedTxt: $scope.fTimespanSelectedTxt
})
}).then(function (group) {
kendo.drawing.pdf.saveAs(group, filename);
hiddenElement.style.visibility = 'hidden';
});
};
$.ajax({
url: SendPrompt.fmt(encodedMessage, encodedUserName),
async: true,
contentType: 'application/json',
type: "POST",
dataType: "json",
processData: false,
headers: { Authorization: tokenData() },
beforeSend: setHeader,
success: function (data) {
var answer = data.Answer.replace(/(?:\r\n|\r|\n)/g, '\n\n');
chat.renderMessage({
type: "MyText",
text: answer
}, {
id: kendo.guid(),
name: gptName
});
}, error: function (jqXHR, textStatus, errorThrown) {
console.log("Status:", textStatus);
},
complete: function () {
messageTemplate.animate({ opacity: 0 }, 500, function () {
$(this).css({ display: 'none' });
});
chat.wrapper.find(".k-input").prop('disabled', false);
chat.wrapper.find(".k-button-send").prop('disabled', false);
}
});
Hello!
Is there a simple way to remove autocomplete from gridfilter?
I want to use filterbox. I need filterbox. But I don't want autocomplete.
https://dojo.telerik.com/hYMEJZcB
Thank you
Right-clicking a spreadsheet column, it is possible to Hide the column.
However, how can the column be unhidden?