1
The name implies that this command configures a cell in a table/grid. But I’m having trouble understanding its syntax mixed with asp
.
<%If col_cod <> "" Then %>
oGrid.setCell(<%=linha%>,'<%=col_cod%>',codigo);
<% End If %>
<%If col_nom <> "" Then %>
oGrid.setCell(<%=linha%>,'<%=col_nom%>',descricao);
<% End If %>
Apparently he populates the column col_cod
with the value of codigo
and col_nom
with the value of Descricao
, but complicates me the first parameter, which in this case is the value coming from asp
for linha
. So what exactly does he do?
I thought it was js, by the way it was written. As I’m doing the conversion of an ASP code to js, I thought it was.
– pnet