Questions tagged [dataprovider]

A property of the Flex DataGrid and AdvancedDataGrid used to specify a data source.

497 questions
2
votes
0 answers

getList not working for ra-data-hasura with React-Admin

I have an issue I've been struggling with for DAYS with ra-data-hasura and Reac-Admin. I need to have a resource name called videos and images, BUT the problem is that those two belong to an Endpoint called posts. My GraphQL data of posts looks…
theKid
  • 522
  • 6
  • 19
2
votes
2 answers

How to Vaadin CallbackDataProvider make an asyncronous fetch data?

Vaadin 14. CallbackDataProvider. When service is slow and answer time is long then Grid connected to CallbackDataProvider is freezes with all UI. Some example: import com.vaadin.flow.component.grid.Grid; import…
lanmaster
  • 330
  • 2
  • 16
2
votes
1 answer

Dynamic test name from data driven excel

I use in my framework testNG with Data driven. All test data are taken from excel table and DataDriven return them as a two dimensional array e.g. Data[][]. My code looks like: @Test (DataDriven = "data") public void testCase(Sting testName, String…
Kamil
  • 77
  • 6
2
votes
1 answer

How can I have custom identifiers/primary keys for my resources?

My table has a primary key other than id and react-admin enforces id to be returned in the response by the DataProvider. So can I configure different primary keys/identifiers for my resources? I am using this library -…
Amit Kumar
  • 169
  • 1
  • 10
2
votes
1 answer

Json file as data provider in TestNG

Give below is my JSON structure: I want to write a method in Java that should take only SuperParent as input parameter and return "Registration Data" and "Registration Data1" along with their child elements as TestNG dataprovider object.…
Sudha Sharma
  • 35
  • 1
  • 5
2
votes
1 answer

Firebase Data Provider + custom data provider - React admin

I am desperately googling and stackoverflowing for hours "How to use multiple data providers with React-admin". I have found many things expect what I really need. How to use dynamically firebase data provider + custom data provider with React admin…
2
votes
2 answers

Is Nhibernate using ADO.NET for connecting to database?

What is the data provider for nhibernate? Is it ADO.NET?
masoud ramezani
  • 22,228
  • 29
  • 98
  • 151
2
votes
1 answer

API URL with Node Server and react-admin

I'm trying to connect react-admin: https://github.com/marmelab/react-admin and a Node server: https://github.com/hagopj13/node-express-mongoose-boilerplate I have users in database and i can sing-in with the react-admin. But when i want to show…
Ludo
  • 103
  • 1
  • 15
2
votes
0 answers

Get test class name from which data provider method is called in TestNG

I am using TestNG @DataProvider Annotation along with @Factory functionality in order to run a flow. When the control goes to @DataProvider method, I want to know from which test class this dataprovider method was called & on basis of that I want to…
2
votes
1 answer

SSIS Package in SSMS - ADO NET Source has failed to acquire the connection - Could not create a managed connection manager

I have some problems with getting my SSIS Packages to work from my Azure SQL SSIS DB in Azure. I built the SSIS packages in VS and they run without any problem. What I am doing is getting data from a remote MariaDB (Source) with a ".NET MySQL Data…
H4p7ic
  • 1,669
  • 2
  • 32
  • 61
2
votes
1 answer

How to connect to a MySQL Data Source in Visual Studio 2019?

I'm trying to create a new connection using MySql as a Data Provider in Visual Studio 2019, but the list of Data source doesn't show me MySql. So I check out my mysql-connector and I had the 8.0.15.msi version. I found out that i should have the…
yair facio
  • 23
  • 1
  • 7
2
votes
3 answers

Flex 4 -- Call function when dataprovider changes

How can I set a function to be called when the length of a DataProvider changes?
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
2
votes
1 answer

yii2 GridView header link remove

In yii2 gridview, I have this code: echo GridView::widget([ 'dataProvider' => $dataProvider, 'columns' => [ ['class' => 'yii\grid\SerialColumn', 'options' => [ 'width' => '40', …
Jeni Vasileva
  • 768
  • 6
  • 26
2
votes
2 answers

yii2 dataprovider with custom query

I have following code of index action $searchModel = new PatientTestSearch(); $dataProvider = $searchModel->search(Yii::$app->request->queryParams); return $this->render('index', [ 'dataProvider' => $dataProvider, …
Muhammad Umair
  • 103
  • 1
  • 12
2
votes
2 answers

Use closures in Yii2 ArrayDataProvider

In an ActiveDataProvider you can use closures as values, like: $dataprovider = new ArrayDataProvider([ 'allModels' => $array ]); $gridColumns = [ 'attrib_1', [ 'attribute' => 'attrib_2', 'label' => 'Label_2', …
JK87
  • 379
  • 2
  • 12
  • 26