O
|
OLDmrcaseyman 10/26/2015 |
Using this idea, would it be possible to edit a field directly by clicking it? For example, clicking on the YearofMake field on any row makes that field editable. Changing the model year is automatically saved upon exiting. You work with invoices table and need quick visual cues that tell if invoice was paid or not. Besides that, you need to mark invoices as paid quick, without switching to inline edit mode. We'll show ou how to do that with single mouse click. This is how it looks in generated application. Sample database structure. Table 'invoices'. Fields: id - int, primary key
if ($data["status"]!='paid')
if ($data["status"]=='paid')
<?php
|
![]() |
Tandy 1/14/2016 |
This does not work for me? if ($data["trip_paid"]!='paid')
if ($data["trip_paid"]=='paid')
<?php
|
![]() |
Sergey Kornilov admin 1/14/2016 |
Tandy Services, |
O
|
onlline 5/6/2016 |
Tandy Services, hard to tell what might be wrong without seeing all project files and database. If you need more help feel free to upload your project to Demo Account and contact support directly.
|
O
|
onlline 5/7/2016 |
Tandy Services, hard to tell what might be wrong without seeing all project files and database. If you need more help feel free to upload your project to Demo Account and contact support directly.
|
U
|
ustunsoz 7/28/2019 |
In my case, my field value "amount" is changing after changing status. But I couldn't refresh the row even I put the refresh grid script in JavaScript on load event. Is there any way to refresh "amount" after changing status??? |
![]() |
Tandy 3/9/2021 |
This does not work for me? I get the icon to show and I can even edit it and have the other icon to show. But when I click on it in the list page. The page just refreshes and does not get marked as paid? my table is Trips and my field is trip_paid. My list page code is in view as and custom: if ($data["trip_paid"]!='paid')
if ($data["trip_paid"]=='paid')
<?php
|
![]() |
Tandy 3/9/2021 |
Ok, Think I figured it out. In the List Page Code. I changed the href=# to href=/trip_sheet_list.php and it seems to work right now. I don't know if that is what I was to do, but it does work. |
![]() |
fhumanes 3/9/2021 |
Hello "Tandy Services", |