Telerik Forums
Kendo UI for jQuery Forum
2 answers
173 views

Hi,

I have a grid marked as Batch Editable. Only one cell is editable, I can do this by the field list of the Datasource like this:

fieldList['cellname'] = { type: 'number', editable: true };

It is working ok. When you change a cell in a row the Grid set a visual clue, like Excel, indicating that the cell has been changed.

The problem is when you, before saving the changes, navigate to another, using the pageable control. If you return
to the previous page the visual sign disappears. Internally the row is marked as dirty but there is visual sign
anymore.

How can I fix That ???

If this is a known bug I need to detect the event of page change so that I can warn the user of non saved fields.
How can I do that ???

Thanks in advance

mvbaffa
Top achievements
Rank 1
 answered on 13 Sep 2012
13 answers
2.0K+ views
Good morning. I need to hide columns in grid kendo?
as I can do that when grouping columns hide the column that is grouped? 

thanks 
Kai
Top achievements
Rank 1
 answered on 13 Sep 2012
1 answer
161 views
I'm using bxSlider http://bxslider.com/ to manage 'pages" for a long form.
I like it but it doesn't do touch.

Does KendoUI have a  control that can be configured to act like a panel slider? The PanelBar looks promising but I don't want the user to see more than Next<>Previous options

Thanks
Pat NH USA
Iliana Dyankova
Telerik team
 answered on 13 Sep 2012
1 answer
146 views
Hello, I am having some issues with TreeView that I need help resolving:

Issue #1: 

Below code works, and sprites show up, until you drag an item. After that <span> tags get stripped.
<ul id="hosts">
    <li id="host1"><span class="maas-sprite server"></span>host1</li>
    <li id="host2"><span class="maas-sprite server"></span>host2</li>
    <li id="host3"><span class="maas-sprite server"></span>host3</li>
</ul>
  
$('#hosts').kendoTreeView({
        dragAndDrop: true,
});


Issue #2:

When moving last item from one TreeView to another, it is impossible to drag anything back.

How do i fix this?? 

Igor
Top achievements
Rank 1
 answered on 13 Sep 2012
1 answer
172 views
when I enter an invalid date in kendoDatePicker, the function .val () returns null. How do I see what has been typed. thanks
Georgi Krustev
Telerik team
 answered on 13 Sep 2012
0 answers
178 views
Hi,

i am new to KendoUI. So its maybe a stupid question :). But i don't find a solution.

I create remote datasource and bind it to a Listview with a template element. Like in our examples:

$("#openServiceCallsListView").kendoMobileListView({
dataSource: remoteDataSource,
template: kendo.template($(
"#myRowTemplate").html())
});

The Template looks like this:
<script type="text/x-kendo-tmpl" id="myRowTemplate">
<div>${field1}&nbsp;${field2}&nbsp;${field3}</div>
   </script>

It works and everything is fine. But now i need an unbound column which contains an image link. Something like:

"http://localhost/service/GetPicture?Model=" + encodeURIComponent(${field1} + "&Type=" + encodeURIComponent(${field2})

I don't know, can i call a javascript function in this template? Or is it possible to create a new field in the datasource?

Cu

Georg

Georg
Top achievements
Rank 1
 asked on 13 Sep 2012
1 answer
142 views
Hi,

I hava a grid and a datasource which receives data from a webservice.
The XML data I convert serverside to JSON using PHPs json_encode().
If I display these data in a Kendo grid ONly FireFox and Chrome show the data correclty inside the grid.

Internet Explorer 9 (IE 9) shows  [object Error].
This message comes from my datasource:

...
             
            error:  function(e)
                    {
                        alert(e.errorThrown);                      
                    },
 
...

Can somebody tell me why IE9 does not accept these JSON data but other browsers do without any problem?
Is there any way to get more information what causes the error?

Thanks!
T.
Top achievements
Rank 1
 answered on 13 Sep 2012
0 answers
149 views
Hello,
I have followed this example

grid-page-methods-crud

https://github.com/telerik/kendo-examples-asp-net/tree/master/grid-page-methods-crud


Example is working fine
but when i added sort filter or paging  but sort paging or filter doesn't work

what i am missing

Your feedback is appreciated

Best Regards
Wael
Wael
Top achievements
Rank 1
 asked on 13 Sep 2012
2 answers
261 views
Hello,

I noticed that you can set the value of the date picker using a date or a string with the proper format. If i use the date, I'm getting a different behaviour form the string, when I first put the text to the input

I have created the control with a change event option.

I'm setting the value of the control this way:

datepicker.value(new Date());

when i'm writing some invalid date in the input, the expected behaviour will be that the change event is not executed. But it's being executed.

I tested it with setting the value with a string:

datepicker.value("1/9/2011"); 

and the result is the expected. the event is not executed.

example:

           <div id="Div6" class="k-content">
            <div id="email-settings">
                <div id="test" style="margin-top: -6px; margin-left: 180px">
                    <input id="datepicker" style="width:150px;" />
                </div>
                <div style="margin-top: 59px; margin-left: 180px">
                    <input id="monthpicker" value="10/10/2011" style="width:150px" />
                </div>
            </div>
        <script>
        $(document).ready(function () {
        // create DatePicker from input HTML element
        $("#datepicker").kendoDatePicker({
        change: function () {
        // get widget
        var widget = this;
        alert("datepicker");
        }
        });
        $("#monthpicker").kendoDatePicker({
        change: function () {
        // get widget
        var widget = this;
        alert("monthpicker");


        }
        });




        var datepicker = $("#datepicker").data("kendoDatePicker");
        var a = "1/9/2011";
        datepicker.value(a);


        var monthpicker = $("#monthpicker").data("kendoDatePicker");
        var b = new Date();
        monthpicker.value(b);
        });
        </script>



Regards 
Guillermo
Top achievements
Rank 1
 answered on 13 Sep 2012
2 answers
1.9K+ views
Hello,


I have being working with the kendoCombobox trying to implement in our project. 


I'm experencing one issue and I need a clarification. 


I created a kendoCombobox, with some options. and i'm adding to it 2 events. one is the CHANGE event and the other is the SELECT event.


I notice that in the CHANGE event there is a selectedIndex propertie of the current event. (this.selectedIndex) that represents a "-1" when the item doesn't appear in the datasource and the current index when yes. I can access to the value and use it to performe some validation, but i want to know if is there any reason that this is not in the documentation? I tried to look for a selectedIndex implementation in the documentation of the comobobox, and i couldn't find anything, i only realized of this value when i have debugged with the chrome.

Thekns for your time.
Polit, Guillermo

Sungard Investran developer.
Guillermo
Top achievements
Rank 1
 answered on 13 Sep 2012
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
Application
Map
Drag and Drop
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
ListBox
DropDownTree
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?