Hi everyone,
I am using Kendo Grid Hierarchy in my ASP.Net MVC application.
For each row in my parent table, i have an option to add a child table.
My parent table is associated with a model. Each row in this parent table has several columns:
- ID
- Name
- Amount
- Button
Every time i add a parent row, all values are empty (ID and Name).
Now, here is my problem:
When my parent row has a child table filled with rows, e need to hide the button in the parent row.
When i remove my child table, i need to show the buttons again.
I also need to fill a hidden column in the child table, which indicates me who is the parent row.
How can i do this, only in the client side (using javascript)? I want to edit my information inline, and i would like to make a post only after my editing is completed, serializing my table to JSON and sending it to the server.
Thanks in advance.
Best regards
I am using Kendo Grid Hierarchy in my ASP.Net MVC application.
For each row in my parent table, i have an option to add a child table.
My parent table is associated with a model. Each row in this parent table has several columns:
- ID
- Name
- Amount
- Button
Every time i add a parent row, all values are empty (ID and Name).
Now, here is my problem:
When my parent row has a child table filled with rows, e need to hide the button in the parent row.
When i remove my child table, i need to show the buttons again.
I also need to fill a hidden column in the child table, which indicates me who is the parent row.
How can i do this, only in the client side (using javascript)? I want to edit my information inline, and i would like to make a post only after my editing is completed, serializing my table to JSON and sending it to the server.
Thanks in advance.
Best regards