This is a migrated thread and some comments may be shown as answers.

Mvvm detail grid in MVC view expand link not working

1 Answer 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 14 Mar 2017, 03:20 PM

I have copied the code from this example http://jsfiddle.net/yzKqV/159/ into a MVC view, the expand link is not working. the template for the master row is

<script id="rowTemplate" type="text/x-kendo-tmpl">
    <tr class="k-master-row">
        <td class="k-hierarchy-cell"><a href="\#" class="k-icon k-plus"></a></td>
        <td> ${FirstName} </td>
        <td> ${LastName} </td>
    </tr>
</script>

so the link for the href on my machine is https://localhost/# which is incorrect, not sure how to fix this link.

Any help would be greatly appreciated.

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 16 Mar 2017, 09:48 AM
Hello Patrick,

The problem that you are facing is not related with the generated href attribute, because it is correct. The issue with the expand/collapse functionality is due to the changed class names in our latest releases and you need to use the "k-i-expand" class instead of "k-plus".

Please try replacing the class name and see if the issue will be resolved.


Best Regards,
Konstantin Dikov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Patrick
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or