Results Dumping straight to grid
I have a pretty simple script that ends up dumping collection results to the grid. Does the same thing in LP 5 or 6/
I have a pretty simple script that ends up dumping collection results to the grid. Does the same thing in LP 5 or 6/
Comments
Can you explain what the problem is?
Maybe they are doing something like this, and don't want it to dump?
void Main()
{
Console.WriteLine(new MyList { "hello"});
}
class MyList : List
{
public override string ToString() =>
"Hello";
}
Instead of dumping results to the outputpanel as is the expected/normal outcome.... it is dumping objects straight to to a set of grids.
There are toolbar buttons for 'Results to Rich Text' and 'Results to Data Grids'. Which one shows as pressed? You can make either the default by right-clicking and choosing 'Set as Default'.
You can also force results to display in data grids by calling Dump with true - is there a chance that Dump(true) has been accidentally introduced into your script?
Was just coming back to post this image after noticing it today. I must have set the option on this script at some point and actually completely forgot that the option even existed. My bad.