How to create a pivotTable in ADF? - oracle-adf

I want to create a pivotTable in ADF,but I want to use EJB instead of BC in ADF ,so someone can give me a example to shwo how to create in EJB
Thanks!

As long as you expose your EJB as an ADF Data control, it should be a simple drag and drop of the Collection onto the page and choosing table->adf pivot table as the destination.

Related

Excel like copy paste feature for adding data into grid using react and grid library

I am creating a kind of excel online application using react in frontend, Java in backend and Postgres database.I am using a library called ag-grid (community edition).
Now one of the feature i need is to copy and paste data in to rows
just as we do in excel.
The grid is going to be linked with the Postgres, all the data in the table in the DB is displayed into the grid and any change made into the grid will be reflected to the DB and vice-versa.
The specific need is, i need copy and paste feature, i need to paste the data which is, say copied from other excel in to my application. I should be able to create blank rows and i should be able to paste the data into those rows, if the blanks rows are less then it rows should get automatically added(as in excel) as soon as data (say multiple rows data) is pasted into a one or more rows.And when i choose to save the my application then data of grid should be saved to DB.
Is it possible to create this feature using ag-grid community ?
Is there any other library which is recommended for this purpose ?
If there is any resource or documentation available for this feature
then please point me.
Just in case if anyone stumbles upon this problem, I've found a solution from some another website. It uses processDataFromClipboard event of Ag Grid for a custom solution.
https://plnkr.co/edit/lM3OtCQxpJdapHQt?preview
The ag-grid community edition does not support CRUD operations with a server side model - the enterprise edition does:
https://www.ag-grid.com/javascript-grid-server-side-model-crud/
If you insist on using ag-grid community you will need to handle the editing/grid changes yourself, which should not be too hard. A good starting point would be the cell editing page:
https://www.ag-grid.com/javascript-grid-cell-editing/
In particular, you will need to listen to the cellValueChanged or rowValueChenged event:
https://www.ag-grid.com/javascript-grid-cell-editing/#event-cell-value-changed
The event params will provide you with the following properties:
newCalue
oldValue
column
colDef
which you can use to generate the update call.

How to insert to database using silverlight Dataset

How can I enter dataset into the database using data
An example please
You can't access a database directly from a Silverlight client. There are several ways to accomplish this but you basically need to call a web service from Silverlight. See the following article for a step by step example: https://technet.microsoft.com/en-us/library/cc197937(VS.95).aspx

Use view in report

I have created a view in SQL Server. I'd like to use this view to create a report in Microsoft Dynamics NAV 2009. Is this possible and if so, how can I use the view?
Thanks
yes this is possible but you need a new navision table and change the property 'LinkedObject' to Yes.
Further, you need to name the table exactly like the view.
Here are some further hints.. http://msdn.microsoft.com/en-us/library/dd339076.aspx
You then can use that table like any other table in nav with some limitations..
Here's another good tutorial regarding your question:
http://dynamicsuser.net/blogs/waldo/archive/2008/11/08/how-to-display-an-sql-server-view-in-microsoft-dynamics-nav.aspx

Manipulate Database from Drupal

I'm new to Drupal 7. Right now I'm trying to use D7 to build an interface that allows me to directly manipulate the tables in the database.
I have installed a couple modules such as Data, Migrate, Feeds, and etc. I managed to create a view to display the table that I created using Data Module, but I need to add and update the rows from the interface.
Furthermore, is it possible to set up relational tables so that I can update or delete related rows at the same time using Drupal?
Thanks in advance
Using the data module that is quite easy because it comes with the "Data Entity" submodule that creates an entity form for you. This allows you to update data table rows. It should add an edit button at the end of your data view for the table.
Using some basic custom code you can always create a form to add/update data to the table as well. For form creation please have a look at:
http://api.drupal.org/api/drupal/includes%21form.inc/group/form_api/7

Is there any way to access a datasource from one project, in another project?

I have access to a database table that has been added as a datasource in project (A). Is there any way to refer to this database table from project (B) WITHOUT adding it to project (B)'s datasource?
i.e.
ProjB.databasetable.GetDataSetSchema
Any ideas would be really appreciated. Thanks guys!
The database table is not related to the project A in any way. The project A contains a datasource, probably a DataSet, that is used to access the table.
If you would like to reuse that dataset, just add a reference to ProjectA to ProjectB and ProjectA.MyDataSet will be there for you to use.
The way is to use remote data server and all application will connect to your server.
You can make this with DataAbstract
but you need to rewrite your application.

Resources