NetTalk Central

Author Topic: how to create a Grid Card in NT  (Read 2475 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 666
    • View Profile
    • Email
how to create a Grid Card in NT
« on: March 10, 2021, 04:35:11 AM »
hi, i create successfully(https://fecipur.org/Eventos) a horizontal grid(aka browse) card with nt, but i need create another grid card with image to the left and a fields to right like as attached example image, is possible with NT?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: how to create a Grid Card in NT
« Reply #1 on: March 12, 2021, 03:28:07 AM »
I've not done this, but I presume it's possible. Either via CSS, or via setting the "span rows" setting for the picture field to 6 or 7 or whatever. And the first field (picture) is likely not first in row.

That's on a form, on a browse it's easier.

Cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 666
    • View Profile
    • Email
Re: how to create a Grid Card in NT
« Reply #2 on: March 12, 2021, 06:35:41 AM »
hi bruce, i have tried multiple options with "span rows" and "span columns", without results and i don't understand when you said "And the first field (image) is probably not the first in the row" [/ i] this is it a new setting? my version is 11.43

if is possible do you can create a small demo for this?

thanks

osquiabro

  • Hero Member
  • *****
  • Posts: 666
    • View Profile
    • Email
Re: how to create a Grid Card in NT
« Reply #3 on: March 22, 2021, 03:32:17 AM »
Bruce any tips for this..

JohanR

  • Sr. Member
  • ****
  • Posts: 339
    • View Profile
    • Email
Re: how to create a Grid Card in NT
« Reply #4 on: March 29, 2021, 11:31:16 PM »
Hi,

Perhaps not the best way, but could work.
If you have the HTML code that creates the desired layout and effect,
you could create a NTWS source procedure that will output the correct HTML and you just need to load the data in the correct positions inside the HTML.


regards

Johan





Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: how to create a Grid Card in NT
« Reply #5 on: March 30, 2021, 01:14:49 AM »
my first tip would be;
don't do this...

>> you could create a NTWS source procedure that will output the correct HTML and you just need to load the data in the correct positions inside the HTML.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: how to create a Grid Card in NT
« Reply #6 on: March 30, 2021, 02:17:03 AM »
For the NT 12.12 build I've updated example File Upload (26) so it's laid out like this.
Check the settings for Mai:MailBoxPicture field.

Cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 666
    • View Profile
    • Email
Re: how to create a Grid Card in NT
« Reply #7 on: March 30, 2021, 03:03:20 PM »
thanks bruce, but i need it in the browser, the example works but only in table mode, not in div mode

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: how to create a Grid Card in NT
« Reply #8 on: March 30, 2021, 06:34:18 PM »
>> thanks bruce, but i need it in the browser

eh? where else would it be?
I'm not sure I understand what you mean by this.

>> the example works but only in table mode, not in div mode

try Grid mode instead of Div mode...
(remember you can set a specific form to table / div / grid etc)

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 666
    • View Profile
    • Email
Re: how to create a Grid Card in NT
« Reply #9 on: March 31, 2021, 01:42:23 AM »
the example is in a form i need the same effect in a browse(Mailboxes Browse Control), in Grid Mode don't work, only work in table mode but this is not responsive.

thanks..

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: how to create a Grid Card in NT
« Reply #10 on: March 31, 2021, 11:30:21 PM »
you mean something like https://www.clarionlive.com/ where the browse of the webinars there is a picture on the left, and some text on the right?


osquiabro

  • Hero Member
  • *****
  • Posts: 666
    • View Profile
    • Email
Re: how to create a Grid Card in NT
« Reply #11 on: April 01, 2021, 08:26:46 AM »
yes that's what I mean