Forums
Repeateradditional field in repeater enabled component - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: Repeateradditional field in repeater enabled component (/showthread.php?tid=520)



Repeateradditional field in repeater enabled component - Athi - 12-23-2022

A column value can be shown as title /subtitle for a component which has repeater enabled.

var chart = sdk.getWidget('timeline28');
chart.m_sliderheightratio=2.87;
chart.m_isrepeater = "true";
chart.m_repeaterfield = "repeaterfieldname";
chart.m_repeateradditionalfield ="repeateradditionalfieldname";
chart.m_repeatercolumns = "1";
chart.m_repeaterheight = "375";
chart.m_repeatervmargin = "5";
chart.m_repeaterhmargin = "5";
chart.draw();


Above script can be used in connection script. Mention [repeateradditionalfield] in title /subtitle wherever user want it to be shown