How to delete a panel in Grafana 2.5 - monitoring

There seems to be no way to do it. There is a 'delete row' functionality, but not for a panel in the row. As a workaround, I create a new row, move panel there and then delete, which I think is going too far.

It turns out that a cross in top right corner is not to close the popup window, but to delete the panel ...

I have an older version of Grafana, but I can find a "Remove" option when I click on a panel title.

Related

How to delete frame from Delphi Component palette?

I created and added a VCL frame to the component tools "templates" palette.
Now I want to remove it from the palette, but I can't find any info on how to do that.
Anyone know how to do that?
Click right mouse button on your template in 'Templates' page. You'll see popup menu with 'Delete "YourFrameClassName" button" item. Click it and you'll get what you want.
NOTE: Only works in DOCKED layout - see comments.

How to fix a Tab as first tab on TPageControl and keep it showing while navigating on tabs?

I have this form:
Green arrow: Tab General, and I'd like to keep it always visible, but when the form is smaller than the tabs, TPageControl creates a navigator (the red arrow).
It's good, but I'd like to allow the user navigate but keep showing the possibility to click on the General Tab.
Example:
In this picture, I used the navigator and I can't see General Tab anymore.
I'd like to keep it as the first tab on the PageControl, like a "fixed column" in Excel for instance.
Yes, I didn't found a way to fix the tab! But I solved my problem creating a custom page control based on our discussion on this thread.
You can check it here

How to add item to product backlog in TFS if you've closed the Add Box

Ok, you can laugh now, but seriously, I can't find how to get the 'add item' box back.
Yes, the box here, then you click Add:
I closed it, and can't get it back, any ideas? I dare you to close yours!
On the top right of your photo, underneath the velocity graph, there is a label that says add items. Click that, and the box should come back up.

Creating a Firefox add-on with a sidebar on the right hand side

I'm trying to edit Daniel Buchner's sidebar library so that the sidebar shows up on the right hand side. Do I do something along the lines of the following?
sidebar.browser.style.MozBoxDirection = 'reverse';
Your approach doesn't work because you would need to change the direction of the sidebar's parent box, not its children. However, that would cause unnecessary fallout (like the default sidebar appearing on the right side and developer tools on the left). So it is better to solve the problem by changing this line:
document.getElementById('browser').insertBefore(clone, splitter);
Instead of inserting your sidebar on the left side you can use appendChild to add it to the end of the container. You will also have to add your own splitter however - you can clone the sidebar splitter and change its ID.

"Hello, world!" example for DevExpress QuantumGrid?

I successfully installed the latest QuantumGrid from DevExpress, but I've never worked with this grid before, and I don't know how to get started. I find that the HLP file isn't really a tutorial, and the demos are so rich to the point where I can't get started quickly and see if QuantumGrid fits my needs.
Would someone happen to have a really basic example on how to create a small, non-DB-bound, non-hierarchized, but user-editable grid to host a couple of columns and fill the grid with a few rows?
Thank you.
Place a grid on a form, then delete its default GridView and add a TableView. Add a few columns to TableView and then associate your GridLevel with this new view. Place a button on form and add this code to its click handler.
cxGrid1TableView1.DataController.BeginFullUpdate;
try
cxGrid1TableView1.DataController.RecordCount := 3;
cxGrid1TableView1.DataController.SetValue(0,0,'Data1');
cxGrid1TableView1.DataController.SetValue(1,0,'Data2');
cxGrid1TableView1.DataController.SetValue(2,0,'Data3');
finally
cxGrid1TableView1.DataController.EndFullUpdate;
end;
RecordIndex corresponds to the row index and ItemIndex corresponds to the column index. I hope this helps you to get started.
Create a table
view(gridlevel->create view->table)
Create columns(double click cxgrid
and add)
Set property(inner controls like
DateEdit) if you want. default
property is textedit)
You can insert/delete via
TableView.DataController.Insert/TableView.DataController.Delete*
or use navigator(View->OptionsView->Navigator)
You should look at demos("quantumgrid directory"\Demos\Delphi), demos are more helpful than help files :)
Thanks guys for the help. For those interested in getting started with this grid object, here (what I think) are the steps presented above:
(idursun)
Add a TcxGrid object to the form
In the Structure object in the IDE, right-click on cxGrid1, and select "Delete View"
Right-click on cxGrid1, and select "Editor"
Click on the "Views" tab, click on "Add View...", and select "Table" in the drop-down list
In the "Columns" tab on the right, click on "Add", and add a few columns
Still in this dialog box, go back to the "Structure" tab on the left
Right-click on cxGridLevel1, and choose "Select View" to associate the Level with this new TableView. Close the dialog
In the form, add a button, and paste this code to its Click event:
cxGrid1TableView1.DataController.BeginFullUpdate;
try
cxGrid1TableView1.DataController.RecordCount := 3;
cxGrid1TableView1.DataController.SetValue(0,0,'Data1');
cxGrid1TableView1.DataController.SetValue(1,0,'Data2');
cxGrid1TableView1.DataController.SetValue(2,0,'Data3');
finally
cxGrid1TableView1.DataController.EndFullUpdate;
end;
(barism)
Add a TxGrid object to the form
Within this new cxGrid1 object in the form, right-click its cxGrid1Level object, and select "Create View > Table"
In the Structure object in the IDE, right-click on cxGrid1, and select "Editor..."
In the Columns tab on the right, click on Add to add a couple of columns. Close this dialog
To add data to the grid, either write code, or right-click on cxGrid1 and select "Edit Layout and Data"

Resources