Telerik Forums
Kendo UI for jQuery Forum
2 answers
232 views
The attached image shows the problem we are having with placing a kendo menu inside a kendo grid cell. We would like the dropdown menu to appear on top of other grid elements, without creating a scroll bar. We have tried using the following CSS:
.k-grid tr td
{
    overflow: visible;
}
This successfully prevents the scrollbars from appearing inside the individual cell, but does not prevent the scrollbar from appearing in the grid body.
Jake
Top achievements
Rank 1
 answered on 25 Oct 2013
6 answers
928 views
<script id="editor" type="text/x-kendo-template">

<table border="0">
<tr style="border-style:hidden">
<td style="border-style:hidden"><label>Paciente</label></td>
<td style="border-style:hidden"><div id="example1" class="k-content"><input style="width:300px;" data-bind="value: Paciente" /> <button id="example1" class="k-button" data-bind="events:{ click: buscaficha}">Buscar</button></div></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Teléfono</td>
<td style="border-style:hidden"><input data-bind="value: Telefono"/></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Comienza</td>
<td style="border-style:hidden"><input name="start" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: start,invisible: isAllDay" /></td>

</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Finaliza</td>
<td style="border-style:hidden"><input name="end" type="text" required data-type="date" data-role="datetimepicker" data-bind="value: end,invisible: isAllDay" /></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Médico</td>
<td style="border-style:hidden"><input data-bind="value: Medico"/></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Ficha</td>
<td style="border-style:hidden"><input data-bind="value: Ficha_Num"/></td>
</tr>
<tr style="border-style:hidden">
<td style="border-style:hidden">Memo</td>
<td style="border-style:hidden"><input style="width:300px;" data-bind="value: Memo"/></td>
</tr>


</table>

</script>
-------------------------------------------------------

<script type='text/javascript'>


$(document).ready(function () {

var viewModel = kendo.observable({
buscaficha:function (e) {
  alert("HELLO");
}
});

kendo.bind($("#example1"), viewModel);
});
</script>

Thanks in advance

Johnny
Johnny
Top achievements
Rank 1
 answered on 25 Oct 2013
1 answer
99 views
Hello
I have problem with showing loading animation when after filter there is no data and then I press refresh or clear filter. There is no loading animation when scrollable flag is set to true. If there is no scrollable flag (scrollable flag is false) everything is working properly.

Regards
Marcin
Dimo
Telerik team
 answered on 25 Oct 2013
3 answers
375 views
Hi,
:( English.
i have a Grid starting with checkbox in all the rows and other data.
Have achieved displaying checkbox in the grid like this
field: "status",
title: "Status",
template: "<input name='Status' class='ob-paid' type='checkbox'  />",
And my output is like this:

HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-UnMatch-Content1-Content2-Content3
HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-Match-Content1-Content2-Content3
HTMLcheckbox-UnMatch-Content1-Content2-Content3

Now, i need to display a popup on clicking the checkbox("if the text is UnMatch") with some content.
And no need to do anything if i click on checkbox with the column text is Match.

Please help me how to do this.
Ignacio
Top achievements
Rank 1
 answered on 25 Oct 2013
1 answer
228 views
I have set a delegated event handler to fire on a mouseenter of each of the autocomplete listbox items (the popup list). This handler will then call the autocomplete.select() on the target <li>
    $('ul[id^=txtVendor]').on('mouseenter','li',function (e) { SFO_CNew.autoCompleteMouseEnter(e); });
 
SFO_CNew.autoCompleteMouseEnter = function (e) {
    var autocompleteId, autocomplete;
    autocompleteId = $(e.target).parent().prop('id').replace('_listbox', '');
    autocomplete = $('#' + autocompleteId).data('kendoAutoComplete');
    autocomplete.select(e.target);
    return;
}

The select method will set the target as such:
<li tabindex="-1" role="option" unselectable="on" class="k-item k-state-selected k-state-focused" id="txtVendor_option_selected">XXXXXXX</li>

However it does not reset the class list on previously selected <li> items for example:
<li tabindex="-1" role="option" unselectable="on" class="k-item k-state-selected">ZZZZZZZ</li>

By not removing the k-state-selected class, I see the k-state-selected background's color which I don't want. While I could use jQuery to reset all of the <ul>'s <li> classes to just k-item, before I select an item, I would expect that the select() method would do this for me.  Is there something I am missing?
Alexander Popov
Telerik team
 answered on 25 Oct 2013
1 answer
88 views
I can't seem to find an easy way to build a menu using Kendo similar to the menu at the kendoui.com website.  Is there anyone who can help me with some direction?
Dimo
Telerik team
 answered on 25 Oct 2013
7 answers
90 views
I am attaching an html file.  If you open this file in your browser,  and copy/paste into the demo application http://demos.kendoui.com/web/editor/index.html
it causes a javascript error. We are trying to use the editor in a production application, and are constrained to using ie 8.

Please advise.
Jim Meisterich
Jim
Top achievements
Rank 1
 answered on 25 Oct 2013
1 answer
337 views
Hello, I need some assistance.  i am using the chart and I have a lot of data on there.  I was wondering if there is anyway to set a minimum width so all the data is readable.
Iliana Dyankova
Telerik team
 answered on 25 Oct 2013
4 answers
545 views
For our bar chart, sometimes the category number is big, e.g., 100, in this scenario, the legend area mess up and the plot area disappears.
Could Kendo control the size of legend,  or, for example, give a scroll bar to show legend?
Iliana Dyankova
Telerik team
 answered on 25 Oct 2013
1 answer
384 views
How can I validate whether input has been entered in an AutoComplete or a selection has been made in a DropDownList. If neither is true then it should fail validation. I'm just figuring out the Kendo Validation and if there was a length requirement maybe I'd be on the right track. Can someone suggest a successful way to validate this scenario?

Here's where I started:
<div id="cboSearchStringValidate1">
    <input type="search" id="cboSearchString1AC" />
    <input id="cboSearchString1DDL" />
</div>

$("#btnSearch").click(function () {                                         alert('start to validate');                                             $("#cboSearchStringValidate1").kendoValidator({
rules: {
                                                       customruleSearchStrings1: function (input) {                                if (cboSearchString1AC.length == 0 && $(cboSearchString1DDL).val == ""){
 return input.val() === "true";
}                                                           return true;                                                       }
},                                                   messages: {                                                       customruleSearchStrings1: "Search must not be empty"                                                 }                                               });                                               alert('validate checked');                                           
                                            }
                                           );
I think this needs to be in here somewhere, but not sure if I have the whole thing put together properly.
var validator1 = $("#cboSearchStringValidate1").kendoValidator().data("kendoValidator");
if (!validator1.validate()) {
    alert("validated search strings 1");
    alert('yes, we are valid');
}
else {
    alert("no such luck");
                                               }
Thanks in advance for enlightening me ;)
Kiril Nikolov
Telerik team
 answered on 25 Oct 2013
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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
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
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?