replicate read only grid/ gridColumn functionality into paging grid/gridTextColumn

I have a read-only grid in interface A, and one of the columns populates more than one value. The functionality also includes an expander and each value is linked to its respective record. Below is the code for that particular column. I would like to replicate this functionality in an existing interface B. My concern is that the interface B I am working in has a Paging Grid / Text Column and Interface A has a read-only grid/grid column. 

Interface A column code:

a!gridColumn(
label: "Transit Agency",
sortField: "transit_agency_name",
value: a!localVariables(
local!rowTransitAgencies: index(
local!vanpoolTransitAgencies,
wherecontains(
fv!row.vanpool_id,
index(
local!vanpoolTransitAgencies,
"vanpool_id",
{}
)
),
{}
),
local!rowTrasitAgencyCount: count(local!rowTransitAgencies),
local!showPartial: if(local!rowTrasitAgencyCount > 1, true, false),
if(
local!showPartial,
a!richTextDisplayField(
value: {
a!richTextItem(
text: left(fv!row.transit_agency_name, 10) & "..."
/*link: a!dynamicLink(*/
/*value: false,*/
/*saveInto: local!showPartial*/
/*)*/
),
a!richTextItem(
text: " "
),
a!richTextIcon(
icon: "expand",
caption: "Expand - " & fv!row.transit_agency_name,
link: a!dynamicLink(
value: false,
saveInto: local!showPartial
),
linkStyle: "STANDALONE"
)
}
),
a!richTextDisplayField(
value: {
a!forEach(
items: index(
local!vanpoolTransitAgencies,
wherecontains(
fv!row.vanpool_id,
index(
local!vanpoolTransitAgencies,
"vanpool_id",
{}
)
),
{}
),
expression:
{
a!richTextItem(
text: fv!item.transit_agency_name,
link: a!recordLink(
recordType: cons!RECORD_TYPE_TRANSIT_AGENCY,
identifier: fv!item.transit_agency_id
)
),
if(
not(fv!isLast),
a!richTextItem(
text: "; "
),
{
a!richTextItem(
text: " ",
showWhen: local!rowTrasitAgencyCount > 1
),
a!richTextIcon(
icon: "compress",
caption: "Collapse",
link: a!dynamicLink(
value: true,
saveInto: local!showPartial
),
linkStyle: "STANDALONE",
showWhen: local!rowTrasitAgencyCount > 1
)
}
)
}
)
}
)
)
)
),

Interface B column code:

a!gridTextColumn(
label: "Transit Agency",
field: "transit_agency_name",
data: apply(
rule!APN_replaceNull(_, " "),
index(local!datasubset.data, "transit_agency_name", {})
),
links: apply(
a!recordLink(
recordType: cons!RECORD_TYPE_TRANSIT_AGENCY,
identifier: _
),
index(local!datasubset.data, "transit_agency_id", {})
),
)

  Discussion posts and replies are publicly visible