Questions tagged [phpgrid]

39 questions
4
votes
2 answers

Creating dynamic link using phpgrid

I am using phpgrid.com datagrid and want to generate a dynamic grid for my column 'kbid'. I saw an example on their page as follows: $dg -> set_col_dynalink("productCode", "http://www.example.com/", "productCode", '&foo=bar'); I made mine…
Hello Man
  • 693
  • 2
  • 12
  • 29
3
votes
1 answer

jqGrid: Multi-word search with global search

Using phpGrid, I have created a single grid with a number of customizations, including a global search similar to Oleg's example here: Universal search field for jqgrid Now, I am attempting to implement multi-word search (e.g. JQGrid Toolbar…
1
vote
1 answer

Undefined type phpGrid\C_DataBase

I am doing a Purchase Ordering Sale System and currently, I try to generate a barcode for each item where those barcodes will be used to add to the cart once the barcode has been scanned. So I follow a tutorial from this site Inventory Management…
Teh Tarik
  • 11
  • 1
1
vote
0 answers

Changes made in editable PHP Grid do not reflect in Oracle database

I'm working on a PHP Application with an Oracle Database. I have added a PHP Grid to the webpage which is editable using: $dg -> enable_edit("FORM", "CRUD"); However any changes that I make and press submit do not reflect back to the oracle…
Kate
  • 51
  • 1
  • 11
1
vote
1 answer

How do I get the values in php variables from a selected row in phpgrid?

I am trying to populate fields in a html form getting data values from a row selected by a user in phpgrid. So the phpgrid has a table from the database and I want to select a row which then gets populated in a html form. I tried using AJAX…
preetika19
  • 11
  • 1
1
vote
0 answers

Is there a way to insert at time multiple values selected, based in multiselect feature from phpgrid?

I am trying to use bulk insert in phpgrid, and want to insert the selected values using multiselect feature. Then each selected will be inserted. It's inserting just the first selected value in multiselect. function on_insert($data) global $g; …
c3media
  • 101
  • 1
  • 11
1
vote
1 answer

Connexion problem with phpGrid-Lite with MS-SQL-Server with PHP 7.3

Someone is using phpGrib with PHP 7.3 and MS-SQL-Sever ? If yes I have a problem maybe someone can save me. I have this error : { Warning: Use of undefined constant ODBC_BINMODE_RETURN - assumed 'ODBC_BINMODE_RETURN' (this will throw an Error in…
user10989117
1
vote
1 answer

How to hide columns in platinumgrid php

I am using Platinumgrid in my code and I want to hide last name column in the grid. I also checked this url http://www.platinumgrid.com/hiddencolumns.php but cannot find any solution for my task. Here is my code:
okconfused
  • 3,567
  • 4
  • 25
  • 38
1
vote
2 answers

Creating a new column in mysql view from an existing value

I am incredibly new at this so let me know if I can clarify. Essentially I am looking to create a new column in a mysql view based on values from a column in an existing table. I'm using phpGrid to output on the front end. For instance - let's say I…
Lauren
  • 13
  • 6
1
vote
1 answer

Filter values in phpgrid

I am using phpgrid.com's datagrid and want to make a column named products by filtering and allowing only certain products and not all. Now can i do this? $dg = new C_DataGrid("SELECT…
Hello Man
  • 693
  • 2
  • 12
  • 29
1
vote
1 answer

filter decimal column in phpGrid

I have a mysql database that includes several fields with decimals. I'm using phpGrid Lite to display results. I want users to be able to filter these fields with comparisons ("> 1000"). But all I see for filtering is the text filtering search…
LauraNMS
  • 2,720
  • 7
  • 39
  • 73
1
vote
1 answer

phpgrid in Laravel 4.1 not working with domain masking

I'm using Laravel 4.1. I put phpgrid into the vendors directory. Here are my paths using example domains: Actual file path to website root: /home/.../htdocs/dashboard/public Actual file path to phpgrid: /home/.../htdocs/dashboard/vendor/phpgrid The…
Revent
  • 2,091
  • 2
  • 18
  • 33
1
vote
2 answers

phpGrid "Error: Could not connect to the database" debugging

I have implemented a phpGrid that works in my dev environment but just keeps saying: Error: Could not connect to the database in production I am logging failed attempts at MySQL connections in the logs on and if I put in a dodgy username and…
Rob
  • 10,004
  • 5
  • 61
  • 91
0
votes
0 answers

How can I change in phpgrid a column per programm

I add a virtual Column to phpgrid. How can I change the position of this column manually from the end to the second postion of the grid, The first columns are all filled by database? $dg -> add_column('Brille',array('name'=>'Brille',…
U. B.
  • 3
  • 3
0
votes
0 answers

phpgrid: howto change values of all rows in a column by program

I am new with phpgrid. Is it possible to change the value of all rows of one columns to another value? And how can I change the selected status from a checkbox in the phpgrid to unchecked? Thanks for your Help. I can not find a answer in the online…
U. B.
  • 3
  • 3
1
2 3