Hi
I have a Class like this :
public
class
History
{
public
bool
Wt_loss {
get
;
set
; }
public
bool
WT_Gain {
get
;
set
; }
public
bool
HairLoss {
get
;
set
; }
}
public
class
PmhDh{
public
string
Levothyroxine {
get
;
set
; }
}
public
class
Datum{
public
History History {
get
;
set
; }
public
PmhDh PmhDh {
get
;
set
; }
}
and i fill the main class with some data
i want to show this class in kendo grid mvc wit main header and sub header but i my code not work correctly
this is my grid code :
@(Html.Kendo().Grid<
dynamic
>()
.Name("gridEQ")
.Columns(columns => columns.AutoGenerate(true))
.Sortable()
.Pageable()
.Scrollable()
.DataSource(d => d
.Ajax()
.PageSize(20)
.ServerOperation(true)
.Read(r => r.Action("SendData", "Thyroid"))
))
and attach the result on this post
please help me
thanks