NetTalk Central

Author Topic: Generating Tables  (Read 2984 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Generating Tables
« on: November 03, 2017, 03:05:07 AM »
I know that I can use HTML to create a table in my NetTalk application.  However, I want my tables to have advanced features (mybe dynamic is a better word).  I want things like merged cells, floating cells, calculations on cell values, and so on.

I think it is possible to completely create and manipulate a table using javascript.

Would it be more efficient to use HTML or Javascript?  I'm relatively sure that Javascript will be involved no matter what. 

Thoughts?

Thank you!!!!!!
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11174
    • View Profile
Re: Generating Tables
« Reply #1 on: November 05, 2017, 09:52:54 PM »
Hi Don,

There's no completely right answer to this, and the answer you'll likely get to is some mix between the two.
In NetTalk there's already a fair mix between the two - we have a number of server-side features (like sorting, locating etc) and a number of client-side features (mouse-over, greenbar, clicks) and so on.

>>  I want things like merged cells,
already supported (server side)

>> floating cells,

not sure what "floating cells" are...

>> calculations on cell values

also already supported server side...

cheers
Bruce


DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Generating Tables
« Reply #2 on: November 06, 2017, 05:31:40 AM »
Thank you Bruce!!

A floating cell is simply a <td></td> with its z-index and position set to cause it to "hover" over another cell.  I guess NetTalk's Tips feature on mouse over would be example.  Except, in this case, that cell wouldn't go away.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11174
    • View Profile
Re: Generating Tables
« Reply #3 on: November 06, 2017, 10:06:23 PM »
In that case, I guess already supported, since you can set the css (hence z-index et al) for any cell you like.

cheers
Bruce

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Generating Tables
« Reply #4 on: November 07, 2017, 03:17:11 PM »
Yes sir!   ;)

Thank you for your help....and patience! 

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11