Telerik Forums
Kendo UI for jQuery Forum
5 answers
501 views
Hello everyone,

    I would like to know how to config tooltip message when mouse is over an event in day, week and month views.

   Also how I could show tooltip message in editor event template when validating dates like in demo.

    Currently on my scheduler I can see tooltip but without message, only it shows exclamation icon. Additionally as I show a dropdownlist with resources the tooltip is displayed below this dropdownlist and I can't see the tooltip.

Thank you very much
Regards
Vladimir Iliev
Telerik team
 answered on 12 Nov 2013
1 answer
168 views
Hello,

I'm using the javascript implementation for kendo ui grid - kendo version: 2013.1.319.

I added a column menu to my grid that contains 6 column .

My columns definition is this: 

 columns: [
                     {field: 'WorkOrder().Name()', title: 'Work Order'}, 
                     {field: 'Product().Name()', title: 'Product Name'}, 
                     {field: 'Customer().Name()', title: 'Customer'},
                     {field: 'Operations', title: 'Operation'  }, 
                     {field: 'WorkOrder().PercentProduced()',  title: 'Percent Produced' }, 
                     {field: 'WorkOrder().DueDate()',type: 'date', title: 'Due Date' },
                     ],

for some reason while opening   the menu  there are  7 columns displayed when the last one's title is undefined (see the attached image).

while trying to figure out where the extra  column came from, I checked my columns attribute in the grid object using this function:

    var grid = $("#grid").data("kendoGrid");
     alert(grid.columns.length); 

the result was only 6 .

Where to look for the expendable column and how to delete it? 

Thanks

Eran




 
Nikolay Rusev
Telerik team
 answered on 12 Nov 2013
4 answers
1.4K+ views
hi,

I set the scrollable false of the grid. so that it resize according to the data size.
(the pager position changed according to the data size)

but, i want to fixed height grid.

In other words, the need for a solution.
 - grid vertical scroll does not exist and fixed height grid.

thanks.
Junseo
Top achievements
Rank 1
 answered on 12 Nov 2013
3 answers
123 views
When moving items between grids, if i bring back item that has been previously removed it is not working. However, if i set the _destroyed to null it is working but later a null exception is thrown. Is there a more intelligent way of handling this situation.

Thanks
Svetlin
Top achievements
Rank 1
 answered on 11 Nov 2013
1 answer
422 views
Hi all,

For a large data, i use a model with a little fields for display. In case, customer click one row in grid and choose update button the edit popup will show up. In this popup dialog, i want to use another model with full fields (from database) to change information but i dont know how and where to swith to new model for edit popup.

Please, help me to solve this problem.

Regards,
Lee
Atanas Korchev
Telerik team
 answered on 11 Nov 2013
1 answer
107 views
In using jsut the basic method of building html (ul/li) and then setting:

$(

 

"#treeview").kendoTreeView({
checkboxes: {checkChildren:
true},
});

Is there a way via Html tags to set what items have a checkbox or not?

 

Dimiter Madjarov
Telerik team
 answered on 11 Nov 2013
1 answer
162 views
Hi, 

we are using the declarative way to create the view. I found a problem that the data binding is not working on the grid when I want to use the server grouping on the underlying data set. When we are using client-side grouping, it works without problem.

It looks like that when I am using server side grouping, data-binding crashes with an error, that the method get (which is normally on an ObservableObject instance) is not defined on the "items" element of the group (download the example and run it).

I am sending simple example. In this example there are two datasets. One that represents the server-side grouped data and the second that is used for client-side grouping (is commented out but you can uncomment it and verify that it works fine).

The example is using kendo.all.js file but I removed that file because of licence. If You would like to try it out, please, add there this script (should be no problem).

Could You, please, point me to the problem?

Thank You for Your time.

Sincerely,


Lukas Vyhlidka
HP
Alexander Valchev
Telerik team
 answered on 11 Nov 2013
2 answers
921 views
Hello,

I am trying to add a totals row to my grid, and I've boiled my problem down to a very simple jsfiddle:

http://jsfiddle.net/2efYE/20/

Note that there is an "Uncaught ReferenceError: sum is not defined" error.

If you replace "sum" in the footerTemplate with a static value (e.g. "100") then it works fine. I must be missing something very basic, but after spending a lot of time staring at the grid aggregates demo and experimenting, I still can't seem to figure it out. Maybe something unique to MVVM? Maybe you can't do aggregates without also grouping (although I tried it with groups, too)?

Thanks in advance for the help,
--Dan
Dan
Top achievements
Rank 1
 answered on 11 Nov 2013
3 answers
89 views
Attached is what 2 ajax-fed schedulers on the same page look like...??

sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 11 Nov 2013
12 answers
2.1K+ views
 
Hi

I have a kendo grid with sorting enabled.  I am trying to sort on a column with a field called "Document_Category"

In the model Document_Category is an object that is comprised of 2 properties: Document_Category_Name (string) and  Document_Category_ID (int).  I have this field setup as an object this way so I can bind the id to the selected item of a dropdown list in the editor template

How can I can I configure the grid to sort this column by the Document_Category_Name property of the object that the field is bound to.

Is this possible? If not is there another way to bind to a dropdown list?

My code is below; thanks


$("#grid").kendoGrid({

             columns: [
                    { title: " ", template: "#= doclink(data) #", width: 31 },


                    { field: "Document_Category", title: "Category", width: "150px", editor: categoryDropDownEditor, template: "#=Document_Category.Document_Category_Name#" },
                    { field: "DOCUMENT_TITLE", title: "Title" },
                    { field: "DOCUMENT_FILE_NAME", title: "File Name" },
                    { field: "DOCUMENT_DESCRIPTION", title: "Description" },

                    { field: "DOCUMENT_FILE_SIZE", title: "File Size" },
                    { field: "tags", title: "Tags" },
                    { field: "DOCUMENT_CREATION_DATE", title: "Creation Date", format: "{0:dd-MMM-yyyy}" },

                    { command: "destroy", title: "Delete", width: "110px" }
                ],
             pageable: {
                 info: true
             }, // enable paging
             filterable: false, // enable filtering
             sortable: true, // enable sorting
             editable: true, // enable editing
             toolbar: ["save", "cancel"], // specify toolbar commands

             dataSource: {

                 serverPaging: false,
                 serverSorting: false,
                 serverFiltering: false,
                 pageSize: 5,
                 schema: {
                     data: "Data",
                     total: function (res) {
                         return res.total;
                     },
                     model: {
                         id: "DOCUMENT_ID",
                         fields: {


                             DOCUMENT_ID: { editable: false },
                             Document_Category: { editable: true },
                             DOCUMENT_TITLE: { type: "string" },
                             DOCUMENT_DESCRIPTION: { type: "string" },
                             tags: { type: "string" },
                             DOCUMENT_FILE_NAME: { type: "string", editable: false },
                             DOCUMENT_FILE_SIZE: { type: "string", editable: false },
                             DOCUMENT_CREATION_DATE: { type: "date", editable: false }

                         }
                     }
                 },
                 //  pageable: true,
                 batch: true,
                 transport: {

                     read: {
                         url: "GetDocuments?category_id=-1",
                         contentType: "application/json; charset=utf-8",
                         type: "POST"
                     },
                     update: {
                         url: "Update", service.
                         contentType: "application/json; charset=utf-8",
                         type: "POST"
                     },
                     destroy: {
                         url: "Destroy",
                         contentType: "application/json; charset=utf-8",
                         type: "POST"
                     },
                     parameterMap: function (data, operation) {
              

                         if (data.models) {
                             return JSON.stringify({ documents: data.models });
                         } else if (operation == "read") {
                             //Page methods always need values for their parameters

                             data = $.extend({ sort: null, filter: null }, data);

                             return JSON.stringify(data);
                         }
                     }
                 }
             }
         });
     });


     function categoryDropDownEditor(container, options) {

         $('<input data-text-field="Document_Category_Name" data-value-field="Document_Category_ID" data-bind="value:' + options.field + '"/>')
                        .appendTo(container)
                        .kendoDropDownList({
                            autoBind: false,
                            dataSource: category_items // array of document categories
                        });
     }


 
Alexander Valchev
Telerik team
 answered on 11 Nov 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?