How to Create a Grid Widget
Getting Started with Grid Widget
If you are a Bold BI Cloud user, log in to your cloud site account. If you are an Embedded BI user, open the Bold BI application installed on your server.
Click the “New Dashboard” button and select the “Blank Dashboard” option. A pop-up box will prompt you to configure a data source.
Bold BI has a great variety of sample data sources to choose from, and for this dashboard, you can select 2018 World Cup data source.
Simply select the data source you would like to use and click “Add.”
Selecting the Grid Widget
Once you have chosen a data source, you can start selecting widgets. You can select and create a grid widget. This widget allow you to display and sort tabular data in a straightforward, easy-to-read manner.
Assigning the Data to Grid Widget
First, you need to drag the grid widget from the “Relationship” section of the widget menu onto the dashboard. Then, resize it by dragging its edges so that it will be easy to read. This is how the grid widget appears before any data has been assigned to it.
If you would like the widget to display the number of goals scored by each player in the World Cup, you can assign data to it. First, click the “Settings” icon in the upper right corner of the widget.
Next, click the “Properties” tab and change the widget’s name from “Grid1” to “Goals Scored by Player.”
Finally, select the “Assign Data” tab. To show the number of goals scored by each player in the World Cup on the widget, drag the “PlayerName” and “Goals” fields into the “Columns” box.
Changing the order of the fields in the “Columns” box will change the order of the columns on the widget. If you would like the players’ names to display in the first column on the widget leave the fields in their current positions in the “Columns” box.
Now that the widget displays the desired information, you can customize it further and test its functionality.
Currently, the columns of the widget display the names of the fields that you dragged to the “Columns” box (“PlayerName” and “Sum Of Goals”).
The column names accurately reflect the data they display, but they are field names—they are not the titles you would ordinarily give to the columns.
To revise the column names, click the “Settings” icon next to the column name and click the “Rename” option. You can now type the new column names and click “Enter,” and the column names on the widget immediately change.
Customizing the Grid Widget
If you click over to the “Properties” tab of the widget settings menu, you can find several widget customization options.
In the “Basic Settings” section, you will find various options to customize the Grid widget to suit your needs. For instance, you can choose to enable sorting (this option is enabled by default and can be adjusted later). Additionally, you can select whether the table’s horizontal and vertical lines are visible, and whether the widget permits navigation through multiple pages using the Allow Paging option. In the “Header Settings” section, you can also change the background color and font color of the header.
After experimenting with these settings, you can change the header background color to a custom shade of green by clicking the down arrow in the “Background” color box, selecting the “Switcher” box in the bottom left corner, and moving the cursor around the color swatch. You can also remove the horizontal lines from the widget.
The widget now looks like this.
You can also adjust the alignment of the Header and Content in the Grid widget by using the “Column Alignment” property found in the “Column Settings” section. Next, click the Customize button and configure the alignment according to your needs.
The widget now looks like this.
Now, you can test the widget’s sorting functionality. If you choose to allow sorting in the “Basic Settings” section of the “Properties” tab, you can sort the data according to either of the columns in the widget.
You can sort by the players’ names in ascending or descending order, or you can sort by the number of goals that were scored in ascending or descending order. To do this, you simply need to click anywhere in the header for the column by which you would like to sort.
For instance, if you want the widget to show the highest number of goals in descending order, you can click the “Goals” header. The first click will sort the goals in ascending order, which may not be your desired outcome.
However, if you click the “Goals” header again, the goals will be displayed in descending order.
If you prefer to sort your data by player name, you can click the “Player” heading to display the names in ascending or descending alphabetical order.
As you can see, the simple but powerful grid widget allows you to easily display and sort key pieces of data, and you can even filter the data itself to customize the information the widget displays.
For example, if you want the widget to display only the top ten goal scorers in the World Cup, you can navigate back to the “Assign Data” tab, click the “Settings” button that appears beside the “PlayerName” field, and click “Filter(s).”
Then, you can enable the “Rank” checkbox, select “Top” from the “Mode” drop-down list box, change the “Count” option to 10, change the “Column” drop-down list box to “Goals,” and click “Apply Filter.”
Now, the widget will show only the top ten goal scorers from the World Cup.