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

Grid sub column or colspan approach

1 Answer 390 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Chretien Kevin
Top achievements
Rank 1
Chretien Kevin asked on 25 Sep 2012, 07:20 AM
Does possible making in grid have sub column like in the image?
I tried grid inside grid but it's not working and only display the inside grid
anyone can help how can approach or any suggestion what would better to do in my problem?
            <script>
$(function() {
$("#grid").kendoGrid({
dataSource: {
transport: {
read: "customgridtest.php",
update: {
url: "update.php",
type: "POST"
},
destroy: {
url: "delete.php",
type: "POST"                            
},
create: {
                                url: "create.php",
                                type: "POST"
                            },
},
error: function(e) {
alert(e.responseText);
},
schema: {
data: "data",
model: {
id: "Customer",
fields: {
Customer: { editable: true },
Order: { validation: { required: true} },
Price: { validation: { required: true} }
}
},
}
},
columns: [
{ field: "Customer", title: "Customer"},
{ field: "Order" , title: "Order"},
{ field: "Price", title: "Price"},
{
/*
$("#grid").kendoGrid({
dataSource: {
transport: {
read: "customdata.php",
},
schema: {
data: "data",
}
},

columns: [
{ field: "Region", title: "Region"},
{ field: "District" , title: "District"},
{ field: "Territory", title: "Territory"},
],

})
,
*/
},
],
navigable: true,   // enables keyboard navigation in the grid
});
});
            </script>

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 25 Sep 2012, 12:01 PM
Hello Chretien,

I am afraid what you are trying to achieve is not supported at present. Actually a similar idea for multi column header in Kendo UI Grid has been already submitted at our UserVoice forum. We will appreciate it if you cast a vote or leave a comment for it, because this is one of the ways that we use to keep track of the interest in feature requests. The more votes one suggestion collects, the higher priority will have.
 
Kind regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Chretien Kevin
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or