Telerik Forums
Kendo UI for jQuery Forum
1 answer
81 views
  • in a grid configured to groupable = false
  • using a datasource that is grouped will allow selecting a grouping row, it does not show in the ui, but the select() method will return the grouping row. 

demo: 
http://dojo.telerik.com/aDevo

Nikolay Rusev
Telerik team
 answered on 20 May 2016
2 answers
282 views

Hello,

I've been asked to migrate an existing KendoUI grid to Kendo UI pivot grid....  before I was doing 

 

.DataSource(dataSource => dataSource
      .Ajax()
      .ServerOperation(false)
      .Read(action => action.Action("LoadOperations", "InquiryOperations").Data("getData"))
  )

How can I do this with pivot since the Transport helper doesn't support Data?

 

.DataSource(dataSource => dataSource
        .Ajax()
        .Transport(transport => transport.Read("LoadOperations", "InquiryOperations").Data("getData")))

Thanks

Mahesh
Top achievements
Rank 1
 answered on 19 May 2016
4 answers
128 views

Working with Kendo UI version 2016.2.504, I have tested two filtering method calls across the same odata-v4 dataSource:

1. via .filter() - gridStage.model.DS.filter(DSfilter()) results in:

/app/odata/vwgriddc_info?%24format=json&%24orderby=dc_name&%24filter=dc_id+eq+109&%24count=true

2. via .query() - gridStage.model.DS.query(DSfilter()) results in:

/app/odata/vwgriddc_info?%24format=json&logic=and&filters%5B0%5D%5Bfield%5D=dc_id&filters%5B0%5D%5Boperator%5D=eq&filters%5B0%5D%5Bvalue%5D=109&%24count=true

 

The former works perfectly; the latter fails to properly encode the filter in odata-v4 format and ignores the existing sort parameter. 

I would prefer to render the return within the .query().then() promise, but have worked around the problem with .filter() and requestEnd/setTimeout.

 

Are there plans to update .query() to support odata-v4?  Or, is there some other sort of work around to this issue.

Thanks!

 

 

VAFIR
Top achievements
Rank 1
 answered on 19 May 2016
2 answers
85 views

Hello,

 

I have attached a picture to better illustrate my issue --

When viewing the scheduler on a tablet device, I have noticed that when i try to scroll up and down that the table the events sit on do not align properly with the times. When the scheduler first loads, everything seems to look fine. However, scrolling (as a touch event) causes the issue. Please advise?

Tony
Top achievements
Rank 1
 answered on 19 May 2016
1 answer
237 views

Hi,

I'm trying to populate my grid using a .json schema but i'm facing a weird problem. I first collect the data and initialize the datasource, with both structures being exactly the same. When the grid is drawed it doesn't follow the order of both structures and it "randomly" loads the rows.

This start happening with 5 or more rows.

I think it's a problem related to how Kendo draws the grid in the DOM.

 

I'm using Kendo with Angular2:

@ViewChild("kendoGrid")
    private kendoGridElement: ElementRef;
 
this.kendoGrid = jQuery(this.kendoGridElement.nativeElement).kendoGrid(this.kendoGridOptions).data("kendoGrid");
kendo.bind(this.kendoGridElement.nativeElement, data);

 

this.kendoGridOptions = {
           dataSource: {               
               data: data,
               pageSize: pageSize,
               group: {
                   field: "test",
                   dir: "desc"
               },
               schema: {
                   model: {
                       id: "code"
                   }
               }
           },
           sortable: true,
           groupable: false,
           scrollable: {
               virtual: false
           },
           columns: [
               {
                   field: "shortText",
                   title: "Name",
                   headerTemplate: template1
               },
               {
                   field: "valueAsString",
                   title: "Value",
                   headerTemplate: template2,
               },
               {
                   field: "category",
                   title: "Type",
                   headerTemplate: template3,
               },
               {
                   field: "tags",
                   title: "Tags",
                   headerTemplate: template4,
                   template: template5
               },
               {
                   field: "longText",
                   title: "Description",
                   headerTemplate: template6
               },
               {
                   title: "Command",
                   template: template7,
               },
               {
                   field: "isPinned",
                   title: " ",
                   width: "40px",
                   template: template8
           ],
       };

Viktor Tachev
Telerik team
 answered on 19 May 2016
3 answers
196 views

Hi,

we can't use the MaskedTextBox in our MVVM project because there's a bug when masking with only digits & spaces (for example the simple mask "999"). The mask won't work because a function from Kendo UI seems to expect a thousand or decimal placeholder. This can be easily reconstructed in the MVVM demo for the MaskedTextBox:

http://dojo.telerik.com/exIYe

I just changed the mask to "999" and it is not working any longer. As far as I can tell, no combination without a decimal or thousand placesholder seems to work. Except "000" for example also seems fine, but the number shown is not masked the right way.

Could you please look into this?

Regards,

Steve.

Stefan
Telerik team
 answered on 19 May 2016
2 answers
241 views
In a column menu there's an option to show/hide columns with checkboxes. But this menu is duplicated for all columns, which is not good for me. Is it possible to move that list of columns with checkboxes to a separate control? For example I click some button and a window with that columns list pops up.
Dimo
Telerik team
 answered on 19 May 2016
1 answer
275 views

I have enabled hints on a Kendo Grid and they are all showing fine except the hint on one column.  The column in the schema is "Message".  As you can see from the attachment when you hover over that column you see a small oval shaped balloon instead of a hint. 

I have removed the attributes for that column declaration in the grid to stop if from showing a hint at all but the strange balloon shows anyway.

Each row has a details row that can be seen when the user clicks the right facing arrow in the first column.  In the div that shows the message column is shown.  So maybe that has something to do with it.

 

Any suggestions would be welcome.

 

Thanks

 

Alex Hajigeorgieva
Telerik team
 answered on 19 May 2016
5 answers
1.9K+ views
Hi,
How to add content (Grid Data) to the Tabstrip dynamically  at runtime.
My code looks like,

<div id="tabstrip">
<ul>
<li class="k-state-active">Dimensions </li>
</ul>
<div><div id="Grid"></div>
</div>
..

// I am creating the grid dynamically  using a function call.I am successful with creating grid data.I need to insert this into Tabstrip.
function createGrid (ElementId){
 $("#"+ElementId).kendoGrid(scrollable : true,height : 300,toolbar:...columns : [{..},{..}]);....
}

//I need to call a function to run tabstrip at runtime ..I end up with tabs but with not containing Data(Grid Data) within it.
function createTabstrip(){
$("#tabstrip").kendoTabStrip({   animation:  { open: { effects: "" } }});
}


My goal is to  insert the Grid Data into the tabstrip at runtime..pls help me with any suggestions and  sample codes.

 I am using kendu web and Framework only..

Thanks in Advance,
Winds
Iliana Dyankova
Telerik team
 answered on 19 May 2016
1 answer
147 views
Hi,

I need to draw editable grid of 5 rows, each row can contain multi line cells with variable height.
My page is like that (see the attachement)
<editable grid> [covers exactly 5 rows, each row with variable height]
<other contents>
https://yadi.sk/i/SCNGZOFxrnFSf
my scroll viewport should be 5 rows height

I need <other contents> to start exactly after 5th row, which should be fully shown
I need to calculate table height after render

Is there grid 'after render' event? What are workarounds for my case?
Boyan Dimitrov
Telerik team
 answered on 19 May 2016
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?