Hi All,
I need to show more than 1 link in the table. I was able to show one link successfully, but for the second one i stuck with the same key.
Here's my code :
{name:'custID', key: true, index:'custID', editable:true, editrules:{required:true}, formatter:'showlink', formatoptions:{baseLinkUrl:CI.base_url + 'customer/detail'}, formoptions:{elmsuffix:'(*)'}, width:100},
{name:'empID', index:'empID', editable:true, editrules:{required:true}, formatter:'showlink', formatoptions:{baseLinkUrl:CI.base_url + 'employee/detail'}, formoptions:{elmsuffix:'(*)'}, width:100},
As you can see, I want to show list of customers handled by employee. Since the key is custID, the parameter for employee's link show custID to instead empID.
Is there anyway to work around for this ?
Thanks.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top