Skip to Main Content

DevOps, CI/CD and Automation

how to print $current object in oj table

Milan Pandya-OracleFeb 7 2019 — edited Feb 7 2019

Hi All,

I am trying to dump $current object to see what structure + data values it holds. I am following oj table cookbook example for this. http://jet.us.oracle.com/jetCookbook.html?component=table&demo=templateSlotTable

In demo.js, I changed block of line# 37 with this one.

<template slot="ratingCellTemplate">

            <p><oj-bind-text value='[[$current]]'></oj-bind-text></p>

             <oj-rating-gauge value='[[cell.data]]' readonly style="width:60px;height:15px;">

             </oj-rating-gauge>

          </template>

Unfortunately, it prints [object Object] as output.

Does anybody have any idea on how to print objects on html page through oraclejet way?

Thank you

Comments
Post Details
Added on Feb 7 2019
1 comment
194 views