Example for DevExpress QuantumGrid Master-Detail - delphi

Where can I find a basic example of using QuantumGrid 6 of Developer Express in a Master-detail relation.
Thanks in advance.

The DevExpress QuantumGrid page have a very complex and large collection of samples that you can use.
Visit the Knowledge Base section and search for your question.
it's sure that you find somethig usefull.
Regards.

Are you aware of the Master-Detail Tutorial in the help file?
You should find it in "$(DXVCL)\ExpressQuantumGrid 6\Help\EXPRESSQUANTUMGRID6.HLP" I guess.

You need just add a level to your marter data and a sub-level to your detail data.
After do that, select your detail level and set DataControler's properties to:
1- MasterKeyFieldNames to PK of master data;
2- DetailKeyFieldNames to FK of detail data.
If you want handle records you still need define KeyFieldNames with the PK to both levels.
To see a detailed explanation about how do it, open EXPRESSQUANTUMGRID6.HLP e search for "master-detail".

Related

How to export data with Grid.mvc in ASP.NET MVC

I have data in Grid.MVC and now I want export data after filtered or sorted. I don't know how to do it.
Please help me.
Thank all.
I need to export the data in Grid.MVC to Excel. I used the solution in this link:
http://www.adambielecki.com/2013/05/exporting-data-to-excel-and-csv-in.html
It working but i have a problem, i want export data after filted or sorted.
So heres the help I can give you... I had to do this a few years ago with the same technology. Think of the Grid.MVC filtering as "client side". On the server's point of view, the bucket of objects filling the table has not changed when you do filtering, so what I had to do was hook into the filterboxes on the top of the grid by their css names and use a post back of filter objects to the viewbag which were then used in a linq query to filter the objects to the set I desired, from there I was able to export. This was super hard, and I cant access any of my old code b/c it was for a different company.
I would suggest not puttin the effort in, see if your users are okay with "post filtering" since excel is pretty much made to filter / sort data anyways.
Sorry I could not be more help but I hope this gets you started. good luck.

Create more than one details section using report builder in delphi

I am creating report using metaphor report builder. i need to add more than one detail section. i tried in many ways but still could't make it. it can be designing it from the code. But it can't be possible because when detail section comes more then it is going to the next page. i have attached a image which is what i want to create and that will help to understand the problem. As the image there are four details section that have to have. each of that have medication name which can have more than one medication.hope you can understand my problem. sorry for the bad english.

IPagedList - 2 different sources

I have to implement Paging for keyword search results. The search may return Home results and community results. (This is for a real estate site). So there are 2 types to display. I need to implement paging for the results shown using IPagedList. I see that IPagedList have only one source?
is it possible to have 2 sources and implement paging?
Can some one give idea?
Thanks in advance.
You can make two types implement a common interface and use IPagedList<ISharedInterface> as view model. If you can share what info you want to display from both types it would be more clear.
Creator of the PagedList library here.
You could always make it an IPagedList if you want to go with the nuclear option.

How to Display Two Columns in one ListBox?

Dear Members and Masters
I'm trying to display two columns from MSSQL 2008 Database in one listbox...
Listbox's DisplayMember Property can access only one Member..
So..i want to display two columns in one listbox....
How can i do that?
Please answer me if you know:
Thanks
Considering that you are using Winforms you may have a look at Multi-Column ListBox ControlUse this control
Remember always Use Google and search for similar posts.Make google your friend

OpenOffice spreadsheet import into HSQLDB

OpenOffice ships with HSQLDB. Is it possible to easily import the contents of an OO spreadsheet into the built in database? An added nice to have would be to include the formatting of the cell contents. ie. colors, line feeds, etc.
This question has gone unanswered so I'm offering a bounty. Please provide the code to the solution.
The provided link does work, and no coding is required. To summarize:
Create and register an Open Office DB.
1.1 Looks like you can register any DB for which you have a JDBC driver. (ie. MySql,Postgres)
Create column headings in row 1.
Select data and copy it to the clipboard.
3.1 Limited selection to only the desired rows because OO crashed when I selected all rows.
Go to the Table (Tables pane) view of the database.
Right-click and paste your data.
Follow the instructions provided my the wizard that opens.
I don't know if you would call it easy, but apparently there are ways to import data into open office's base database.
This article explains how to manually import data into the database. And this article has more pretty pictures for the same process. One reason you may not be getting the answer that you want, is that there is very little detail in your question. You could add some more and maybe someone out there can help.

Resources