| 
| Welcome, Guest |  
| You have to register before you can post on our site. 
 
 |  
 
 
 
| 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: 17,395
 |  
| Inbuilt Capability of  VC... Forum: BDB - Platform
 Last Post: shivani.jaipuria
 12-27-2022, 05:23 AM
 » Replies: 0
 » Views: 2,976
 |  
| Can  dataset/cube refresh... Forum: BDB - Platform
 Last Post: shivani.jaipuria
 12-27-2022, 05:08 AM
 » Replies: 0
 » Views: 2,834
 |  
| 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: 5,730
 |  
| 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: 5,266
 |  
| 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: 4,258
 |  
| 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: 4,262
 |  
| Data Preparation  operati... Forum: BDB-Data Prep & ETL
 Last Post: shivani.jaipuria
 12-26-2022, 10:09 AM
 » Replies: 0
 » Views: 3,249
 |  
| Plugability  Feature of B... Forum: BDB Platform Q & A
 Last Post: shivani.jaipuria
 12-26-2022, 08:32 AM
 » Replies: 0
 » Views: 2,678
 |  
| How to use environment va... Forum: BDB Platform Q & A
 Last Post: archana
 12-26-2022, 05:57 AM
 » Replies: 0
 » Views: 2,697
 |  
 |  | 
 
| 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;
 |  
		|   |  |  
 
| 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' ] );
 |  
		|   |  |  
 
| 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"/>
 |  
		|   |  |  
 
| 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;
 }
 };"
 |  
		|   |  |  
 
 
 
 
| 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";
 |  
		|   |  |  
 
 |