I have an kendo report where i load a table. My problem here is that i want to load another table inside that table. I want to call my action method that looks like this:
[DataObjectMethod(DataObjectMethodType.Select)]
public IList<QuoteInfoItemDto> GetQuoteInfoItemsAccessories(int projectItemId)
{
return quoteItemModel.GetAccessories(projectItemId);
}
The problem here is that i use an parameter projectItemId but the projectItemId is always the same and it's always of the last item in my (parent) table. How can i post the id of the current (parent)table so that i can fetch the data from my actionmethod to the (child) table?