Telerik Forums
Kendo UI for jQuery Forum
3 answers
2.9K+ views
Hi,
    I have a hierarchicl grid which is editable. The editing function is working fine. The problem that I have is when I edit a child grids row, I am unable to get the parent row of the corresponding edited child row. Similarly when I edit a parent row, I am unable to find its children(or child grid ) with the edited values.

We are using plain HTML and jquery to implement the grid and not using the MVC.

Regards,
Vijay
Nikolay Rusev
Telerik team
 answered on 16 Dec 2015
1 answer
118 views

Hi 

I have implemented server side paging in kendo grid. I am facing one issue.

Issue Description - there are 2333 records in my table and per page records are configurable (20, 50 and 100). it is working fine. i navigate to 2nd page and try to apply filter on one of the column. when i debug the code on controller method, i noticed that request.page is 1, ideally it should be a page no where user in the grid. in our case it should be 2.

Controller code - 

 public ActionResult GetAutoBlockCardsGridBySearch([DataSourceRequest] DataSourceRequest request, AutoBlockRequestInput model)
        {
            int totalRows;
            var result = _autoBlockCardsAPIController.GetAllAutoBlockCards(model, request.Page, request.PageSize, out totalRows).OrderBy(a => a.MaskedCardNumber);
            List<AutoBlockRequest> AutoBlockCardsList = new List<AutoBlockRequest>();

            if (null != result && result.Count() > 0)
            {
                AutoBlockCardsList = result.ToList();
            }
            request.Page = 0;
            var response = result.ToDataSourceResult(request); 
            response.Total = totalRows;
            return Json(response);
        }

Can you please let me know if anything wrong in code or is it bug in kendo grid?

Thanks,

Dharmesh

Dimo
Telerik team
 answered on 16 Dec 2015
7 answers
270 views

I would like to change the position of Shared Tooltip.

It is hindering select columns.

 See the example :

http://dojo.telerik.com/IJiYI/4

Helen
Telerik team
 answered on 16 Dec 2015
1 answer
159 views

I have a problem with column resizing.  I am creating a function to auto size all columns taking into account a minimum width.  The problem I am having is that as it resizes the columns eventually a horizontal scrollbar appears and then all columns that are not visible to the right dont get resized.  Is this a bug or how can I get around it?

 Here is the code:

function autoFitColumns(grid) {
    for (var i = 0; i < grid.columns.length; i++) {
        if (!grid.columns[i].hidden) {
            grid.autoFitColumn(grid.columns[i].field);
                     
            var minWidth = grid.columns[i].minWidth;
 
            if (minWidth != undefined && minWidth > grid.columns[i].width) {
                $("#projectGrid .k-grid-header-wrap") //header
                  .find("colgroup col")
                  .eq(i)
                  .css({ width: minWidth });
 
                $("#projectGrid .k-grid-content") //content
                  .find("colgroup col")
                  .eq(i)
                  .css({ width: minWidth });
            }
        }
    }
}

 

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 15 Dec 2015
1 answer
94 views

Hi,

Here is my code: 

http://dojo.telerik.com/@idoglik6/ocavO

I added button on top "ADD ROUTE".

This button simulates adding a route to the $scope.route which serve the resources.

After adding a new route, I tried to create a new task using the new route (Route 3).

Unfortunately, the task color remains the default color instead of the new route color.

Any suggestions?

Thanks,

Ran

Dimiter Topalov
Telerik team
 answered on 15 Dec 2015
2 answers
71 views

Hi,

When we display 365 data points (yearly data) in stockchart, candles are skipping many days. Can we display all the daily candles in any view (regardless of viewing by monthly, yearly, weekly)?

In yearly view (365 candles), categoryAxis labels should still skip the dates to avoid the overlapping. But the candles need to display daily.

Right now, to see all the candles, I have to select monthly or weekly view with navigator. Is there anyway to achieve this?

Thanks so much.

Kyaw

Kyaw
Top achievements
Rank 1
 answered on 15 Dec 2015
10 answers
1.0K+ views
I'm new for Kendo treeview. In kendo.MVC.Example template, we can set up treeview data source from the data generated from controller. If I want to for example click button, and get new data by ajax, how can I reload the data source for the treeview? 
Alex Gyoshev
Telerik team
 answered on 15 Dec 2015
3 answers
478 views
We've tried to implement the kendo.culture() option globally, but have run into issues with other areas of the code. Is it possible to just enable it for the scheduler directly? I've checked the API, but there doesn't appear to be a culture option on the scheduler, like there is with other widgets.
Vladimir Iliev
Telerik team
 answered on 15 Dec 2015
5 answers
92 views
Considering that most Kendo UI controls (via Kendo UI DataSource) has direct support for talking with dataservices server side, is there any general recommendations if one should still use a "general" service/factory to handle data transfers or is it better to just let Kendo UI handle this directly? What would be the pros and cons of respective solution? Is there any best practices available that describes this more in detail?  
Petyo
Telerik team
 answered on 15 Dec 2015
1 answer
178 views

Hi guys,

my viewModel:

 

var uploadVM = kendo.observable({
    onUpload: function(e) {
        Codes Here
    }
});

editTemplate

 

<script type="text/x-kendo-tmpl" id="editTemplate">
    <div class="product-view k-widget">
        <dl>
            <dt>Product Photo</dt>
            <div>
                <input id="editUpload" name="itemPic"
                    type="file"
                    data-role="upload"
                    data-model="uploadVM"
                    data-bind="events: { upload: onUpload }"
                    data-multiple="false"
                    data-async="{
                        saveUrl: saveURL,
                        removeUrl: removeURL,
                        removeVerb: 'DELETE',
                        autoUpload: true
                    }" />
            </div>
        </dl>
        <div class="edit-buttons">
            <a class="k-button k-update-button" href="\\#"><span class="k-icon k-update"></span></a>
            <a class="k-button k-cancel-button" href="\\#"><span class="k-icon k-cancel"></span></a>
        </div>
    </div>
</script>

listView initiate with

 

var listView = $("#product-listview").kendoListView({
    dataSource: ListViewDataSource,
    template: kendo.template($("#template").html()),
    editTemplate: kendo.template($("#editTemplate").html())
}).data("kendoListView");

but The UPLOAD event: upload work with error message: Uncaught TypeError: n is not a function

Any suggestion will be appreciated.

Petyo
Telerik team
 answered on 15 Dec 2015
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
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?