This question is locked. New answers and comments are not allowed.
Hi everyone,
I get stuck in these two problems- Edit Grid and Master/Detail in TabStrip.
First of all, I would like to display the data of rows in the TabStrip with HTML because there are quite few of columns in the back end. After the onRowSelected is fired the specific value from the row is able to be show in textbox. When the button is click, I hope the grid should be updated through the Ajax databinding.
.DataBinding(dataBinding => dataBinding.Ajax().Update("_SaveEditing", "Grid")
Additionally, Although I knew how to make Master/Detail in the Grid via DetailView, I prefer to show the detail data in TabStrip by calling onRowSelected method
View:
.DataBinding(dataBinding => dataBinding.Ajax().Select("_SelectionClientSide_PricingMatrix", "Home" , new { Product = "Test1" }))
Controller:
[GridAction]
public ActionResult _SelectionClientSide_PricingMatrix(string Product)
{
return View(new GridModel<
ProductVariants
>
{
Data=_ProductVariants.FindProductVariant(Product)
});
}
jQuery('#PricingMatrix').tGrid(
{ajax:{"selectUrl":"/Home/_SelectionClientSide_PricingMatrix?Product=Test1"},
Thank you very much for your help and I really appreciate it.