Flex DataGrid, Row Group Headers - apache-flex

I am trying to extend the DataGrid to allow headers for different groups of rows. However, I cannot figure out which method to extend from DataGrid that would allow me to accomplish this.
I do not want the headers to be included in the dataProvider, only the rows. I want to specify indexes to insert the headers at using a property of the custom datagrid.
Here is a quick photoshop showing what I am trying to do:
Example http://www.maclema.com/groupheaders.png
Is there any custom component already built that will do this?
If not, does anyone know how I would go about doing this?
Thanks,
Matt

You might want to check out this component:
http://code.google.com/p/flex-spreadsheet/

Another solution that I just found to this type of problem is the following
here is the demo:
http://blogs.adobe.com/aharui/SplitColumns/dg.swf
here is the discussion:
http://blogs.adobe.com/aharui/2007/03/thinking_about_item_renderers_1.html

Related

SilverStripe CMS interface is it possible to make the table editable?

SilverStripe CMS interface you can make the table editable, such as add and remove rows, as well as edit text and information inside the cells. Is there any component that can help?
Just for example
this is the result I would like to achieve
Thank you
Posting my comment as an answer as it seem to have helped the questioner.
Here's a useful module for extending the grid field functionality https://github.com/symbiote/silverstripe-gridfieldextensions. According to the documentation there's a component which allows inline editing GridFieldEditableColumns - allows inline editing of records. I've not used that specific component myself so I can't give any details on how it works, but it can be worth to check it out.

How to Lookup using view

I went through the method of automatic look up here: http://www.axaptapedia.com/index.php?title=Lookups.
What I am trying to achieve is that automatic look up using the view instead of table.
Do you have any idea for that?
Maybe you did not read all the way to the bottom to see the link to SysTableLookup?

Custom header in my detail table

I have a grid with a detail table. When I do a multiple sort on that sub grid I would like the UI changed to reflect in which order the sorting is in. I have attached two screen shots representing what I want. I would prefer the header option. The problem is that the user can not tell which sort is the prominent one.
How would I achieve this using telerik grids? I can not find out how to put a header on the GridTableView or inside the detail table.
Any help would be appreciated
Thanks
I switched all my grids to KendoUI Grids and took advantage of the clients commands and manipulated the columns via jquery.

Add a lot of columns to the grid on a form

I have to add all 86 fields from a view based query inside a grid on a form. The problem is that a form is very slow and the application freezes.
Is there any way to make it faster?
Also try to disable auto-sizing of columns:
grid.autoSizeColumns(false)
Crazy clients ask for crazy things.
My suggestion is DON'T.
As I have the advantage of working opposite you ;) my suggestion is to avoid using a Form/Grid altogether and export the data directly to Excel. Code example.

How to tell RadioButtonList to NOT generate a table

When I set up a RadioButtonList it creates a table layout for it and I don't want this... how do I get rid of it?
It might be a duplicate but I've searched and haven't manage to find a question like this here.
You'll have to change the RepeatLayout property and setting it to Flow will probably yield the result you are searching for.
Take a look at all the other RepeatLayout options here:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.repeatlayout.aspx
Kinda silly the 4.0 framework still defaults the ugly table variant, I mostly revert to the UnorderedList variant.

Resources