I restructure the question to suit my current progress with this.
I have category and item tables. To list all categories, I used grid_category and I can easily add a Field Link for row editing to form_category, a single row form application.
To list all items belongs to the selected category, I used master-detail, form_category (single row application) as master and the detail is subgrid_item, an editable gridview form application.
I choose to use editable gridview form application instead of grid_application since I cannot implement master-detail using form as master and grid as detail. Although, if I use grid application, I can have field link to link from subgrid_item to form_item.
Now, I ended up to use editable gridview form application. I create field link by myself. First, I create a field and named it {linkToItem} with label as field type. I add onLoadRecord event,
if({linkToItem} == null) {
{linkToItem} = '<a style="text-decoration: none;" href="/scriptcase/app/luxos_iis/item_form?id=' . {id} . '" target="_parent"><img src="/scriptcase/app/luxos_iis/_lib/img/scriptcase__NM__scriptacase8_sapir_search.png" style="border-width: 0; cursor: pointer" /></a>';
}
But, now I have a minor bug, where after insert new row, the link become weird, although it becomes ok if I refresh it. See the image below:
[ATTACH=CONFIG]n62986[/ATTACH]
Can someone help to this?
err1.bmp (516 KB)