Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 55,270
» Latest member: LeonardoTy
» Forum threads: 389
» Forum posts: 395

Full Statistics

Latest Threads
What is the maximum numbe...
Forum: BDB Designer Q & A
Last Post: sariga.vr@bdb.ai
12-28-2022, 07:59 AM
» Replies: 0
» Views: 778
Inbuilt Capability of VC...
Forum: BDB - Platform
Last Post: shivani.jaipuria
12-27-2022, 05:23 AM
» Replies: 0
» Views: 549
Can dataset/cube refresh...
Forum: BDB - Platform
Last Post: shivani.jaipuria
12-27-2022, 05:08 AM
» Replies: 0
» Views: 516
How to load business stor...
Forum: BDB Designer Q & A
Last Post: sariga.vr@bdb.ai
12-26-2022, 04:47 PM
» Replies: 0
» Views: 675
How to load business stor...
Forum: BDB Designer Q & A
Last Post: sariga.vr@bdb.ai
12-26-2022, 04:46 PM
» Replies: 0
» Views: 689
How to load business stor...
Forum: BDB Designer Q & A
Last Post: sariga.vr@bdb.ai
12-26-2022, 04:45 PM
» Replies: 0
» Views: 645
How to load business stor...
Forum: BDB Designer Q & A
Last Post: sariga.vr@bdb.ai
12-26-2022, 04:44 PM
» Replies: 0
» Views: 621
Data Preparation operati...
Forum: BDB-Data Prep & ETL
Last Post: shivani.jaipuria
12-26-2022, 10:09 AM
» Replies: 0
» Views: 534
Plugability Feature of B...
Forum: BDB Platform Q & A
Last Post: shivani.jaipuria
12-26-2022, 08:32 AM
» Replies: 0
» Views: 527
How to use environment va...
Forum: BDB Platform Q & A
Last Post: archana
12-26-2022, 05:57 AM
» Replies: 0
» Views: 542

 
  How to Auto Generate any ID in dashboard designer?
Posted by: jeevitha - 12-23-2022, 12:44 PM - Forum: BDB Designer Q & A - No Replies

Script:-

var id = "E" + Math.random().toString(4).slice(2);
var e=id.substring(0,3)

Print this item

  This script can be used to change the opacity by script.
Posted by: Asma M - 12-23-2022, 12:39 PM - Forum: BDB Designer Q & A - No Replies

var paddings = {
 "leftBorderToDescription": 0,
 "leftDescriptionToMarkers": 0,
 "leftMarkersToLine": 0,
 "rightBorderToLegend": 0,
 "rightLegendToLine": 0,
 "rightLegendToDescription": 0,
 "rightDescriptionToMarkers": 0,
 "rightMarkersToLine": 0,
 "topTitleToSubtitle": 0,
 "topSubtitleToChart": 0,
 "bottomBorderToDescription": 0,
 "bottomDescriptionToMarkers": 0,
 "chartToBorder": 0
 };
sdk.getWidget('Datagrid1').m_chartpaddings = paddings;

var ch = sdk.getWidget('Datagrid1'); ch.m_rowopacity = 0.8;
    ch.m_headerrowopacity = 0.6;
    ch.m_rowhoveropacity = 0.4;
    ch.m_rowselectedopacity = 0.6;
    ch.m_rowlinesopacity = 0.8;

Print this item

  Script to add '||' to filter value
Posted by: Sruthi P - 12-23-2022, 12:36 PM - Forum: BDB Designer Q & A - No Replies

How to add  '||' to filter value?
var a = changedItem.attributes.Value; 
var newval = a.replace(/,/g, '|'); 
sdk.updateGlobalVariable( 'label_new', {'Value': newval},false ); 
sdk.reload( [ 'ConnectionID_1' ] ); 

Print this item

  Script to add search label on text box
Posted by: Sruthi P - 12-23-2022, 12:23 PM - Forum: BDB Designer Q & A - No Replies

How to add serach label on text box?

if you want to add search label on text box , then use below script on label component

sdk.hideComponent( [ 'label174' ] );

$("#Target_filter_search").focus();

and in text box -> display content property

<input id="Target_filter_search"/>

Print this item

  Script to change the SVG icon size in datagrid
Posted by: Asma M - 12-23-2022, 12:22 PM - Forum: BDB Designer Q & A - No Replies

"AlertColumn.prototype.getCustomAlert = function (showData, color, arrowPosition, customIcon) {
var text = '<div style="" display:inline-block;text-decoration:inherit;vertical-align:top;margin-top:3px;"">' + showData + '</div>';
var alertImage = '<div style=""width:25px; height:17px;margin-left:5px;margin-right:12px; display:inline-block;""><span class=""'+customIcon+'"" style=""color:' + color + ';font-size:10px;""></span></div>';
if (this.m_alertposition == ""left""){
return alertImage + text;
} else {
return text + alertImage;
}
};"

Print this item

  Lazy scroll script
Posted by: shreekantgosavi - 12-23-2022, 12:21 PM - Forum: BDB Designer Q & A - No Replies

sdk.getWidget('datagrid76').m_scrollviewlimit  =20;

Print this item

  Script to hide tooltip after some seconds
Posted by: shreekantgosavi - 12-23-2022, 12:18 PM - Forum: BDB Designer Q & A - No Replies

sdk.getWidget("timeline1").m_autotooltiphide = true;
sdk.getWidget("timeline1").m_tooltiphidetimeout = 10000;



Here it will hide after 10 secods

Print this item

  Script for border properties
Posted by: shreekantgosavi - 12-23-2022, 12:17 PM - Forum: BDB Designer Q & A - No Replies

sdk.getWidget("area1").m_bordercolor = "#BDC3C7";
sdk.getWidget("area1").m_borderradius = "1";
sdk.getWidget("area1").m_borderthickness = "1";

Print this item

  Repeater script
Posted by: shreekantgosavi - 12-23-2022, 12:16 PM - Forum: BDB Designer Q & A - No Replies

var chart = sdk.getWidget("timeline50");
chart.m_isrepeater = "true";
chart.m_repeaterfield = "";
chart.m_repeatercolumns = "3";
chart.m_repeaterheight = "250";
chart.m_repeatervmargin = "5";
chart.m_repeaterhmargin = "5";

Print this item

  Export a chart from label or image script
Posted by: shreekantgosavi - 12-23-2022, 12:14 PM - Forum: BDB Designer Q & A - No Replies

var chart = sdk.getWidget("bubble2");
chart.plugin.exportToExcel();
chart.plugin.exportToJPEG();
chart.plugin.exportToPNG();
chart.plugin.exportToPDF();
chart.plugin.exportToPPT();
chart.plugin.exportToPrint();

Print this item