Jump to content

Farnsbarnes

Caspio Ninja
  • Content Count

    62
  • Joined

  • Last visited

  • Days Won

    3

Farnsbarnes last won the day on June 19 2019

Farnsbarnes had the most liked content!

About Farnsbarnes

  • Rank
    Advanced Member

Recent Profile Visitors

928 profile views
  1. Many thanks for your reply @Vitalikssssss What a huge shame this is, and a strange omission by Caspio given that values can be looked up in HTML blocks, JS code, etc. I appreciate your advice with the View and I'll follow it, but it's going to be detrimental on performance as my records run to the low millions. How I wish Caspio would expand its sql capability in calculated fields. Best Farnsbarnes
  2. Does anyone know how to access the display value of a field when using a formula inside a calculated field with sql? The critical line for me is below. In my table the field 'Column_values' is referenced to another table, but displays text in place of the underlying reference data. So far I can only manage to access the references, not the text display values. WHEN CHARINDEX('[@myexample]','[@field:Column_values]') > 0 THEN ... Other than the above I've tried '[@lookupfield:Column_values]', '[@lookupvalue:Column_values]', and all kinds of other combinations, but I just can't get the right syntax. Any help much appreciated.
  3. Hi SunakoChan, thanks for you response. Perhaps I wasn't clear enough. I know that I can freeze columns in the datapage wizard. But once set they are fixed. What I want to be able to do is alter the freeze column settings when viewing the report itself, in real time. I'm fine with doing the coding for a little drop down menu in jQuery or javascript to be placed next to the download button in the report. But in this dropdown I'd like to be able to turn the column-freeze on and off, or even better, to set to 1, 2,3 columns, etc, again, in real time. Does anyone know the essential coding to be able to do this?
  4. Does anyone know if its possible to have a freeze columns dropdown in a report - tabular or pivot? Would be great if the User could choose whether to freeze 1, 2 or 3 columns, or turn freeze off completely. Alternatively, does anyone at least know whether it's possible to simply turn the column freeze on or off, using javascript or jQuery, when the report is displayed, via a dropdown I could add in there? I'm really looking for the code that controls the freeze function. What I've found so far is the following HTML: <th class="cbResultSetLabel cbResultSetHeaderCell cbFreezeColumnsDivider_65699f5f6d3e23 cbFreezeBoxSizing_65699f5f6d3e23" scope="col" style="display: none; width: auto; visibility: hidden;"> But I'm just not sure if I'm able to have any control over this. Any help much appreciated .
  5. Thanks for the offer HeezyMeezy. Would love to take you up on this but unfortunately I'm weighed down with client confidentiality issues - I've got to first come up with a way of unpicking the code to just show the essentials. Will let you know if I get there!
  6. Thanks for your reply. Sure, they were going to be my next port of call. I'll talk to support and keep you posted.
  7. Has anyone had any issues with styles following the latest Caspio release 18? I use both jquery datatables as well as Caspio results tables. Everything is built inside the Caspio environment. I've customised everything with my particular Caspio styles, Everything displayed fine until the new release went through a few days ago. Now, the row styles on my jquery datatable just don't get called. For example, I used to have row color banding (ie odd rows displayed as a different shade to even rows). But now my style code has no effect at all! Even adding '!important' in the CSS doesn't work. Very strange as I've done nothing in past month that could have changed this Anyone any comments?
  8. Thanks douvega. I suspected it might come down to using API calls. However, while I understand the Caspio codes and explanations as presented, I just can't get my head around actually putting the explanations together to make a basic API call. If only Caspio had a step-by-step example of the simple operations required to have a GET View Rows up and running (a video would be good). This is such a big and obvious gap in Caspio's explanations that I can't help suspect it's purposely done! Do you know of any such help anywhere? I appreciate the 3rd party recommendation. Perhaps for later, as I'm on a bit of a shoestring budget at the moment. Thanks
  9. Well, Lets say I've got a table called 'Customer_services' with 3 fields; Name, Country, Product (all text fields). 3 records in the table: 1. Sue USA Rake 2. Eric Spain Fork 3. Sue Mexico Rake I'd like to create a variable containing all countries and products associated with 'Sue'. So what I want is: myvariable = 'USA, Rake, Mexico, Rake' Hope this is possible. Thanks MayMusic
  10. Is it possible, using javascript / jQuery, to extract data from specific fields in a Caspio table, or its results datapage, and assign that data to an array? If so, can this code be made to work by placing it in an HTML block inside the relevant datapage? Please give me an example of the code that would achieve this. Thanks
  11. Understood. Thanks.
  12. I'm normalising a large Table which can extend to 3-4 million rows. One of the fields is 'Year' (eg '2017'). There are up to 80 different years in the database and obviously many are repeated many times, Is it worth indexing this field? I can make a table with a primary key and the related year, such as y1 = 2000, y2 = 2001, y3 = 2002 and so on, then relate the primary key to year field in the main Table. I'm just wondering whether all this fuss for so little is worthwhile. Is it going to make a performance improvement? Or should I be doing this a completely different way. Thanks for any advice
  13. Panic over, I've found the answer myself. Use a target tag. Using '_top' breaks outside of all the frames it is nested in and opens the link in the top document in the browser window. <a target="_top" href=" --- Enter Caspio URL here --- " id="Logout_button">Log out</a> Hope this can help someone.
  14. Does anyone know if it's possible to have the logout link working from inside an iframe on a webpage? At present, I've positioned the usual logout link in the iframe but I can't seem to escape the iframe when I try to logout. Any ideas? Thanks.
  15. Does anyone know any code for collapsing or expanding sections in a Pivot Table and a Tabular table? For example lets say that column 1 is 'Regions' and Column 2 is 'Countries'. The pivot table table is set up to show all regions and all countries expanded. I'd like to set up a button outside the results table to be able to collapse all countries, all in one go, to just show region totals, without having to go through each region individually. Many thanks in advance.
×
×
  • Create New...