Results 1 to 5 of 5

Thread: Custom UI Component as Grid Custom Cell Display?

  1. #1
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,187

    Custom UI Component as Grid Custom Cell Display?

    Hi,

    so my wish is to use some HTML to create a snazzy custom grid cell display.

    My train of thinking is:

    1) as usual, create the custom cell display in code as a container, with layout = "Form"

    2) Have the container add the component gadget with addRow()

    3) the component gadget would point to a page in the page library

    4) the page in the page library would be a webview with the HTML

    And Bob's your uncle, even if your uncle is not Prime Minister.

    Should this work in Webview/Table/Phone?

    Is there a more straightforward way to use HTML in the custom cell display?

    I haven't tried this yet, but if the way should be clear, I'll spend the time to give it a shot.

    Hank

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,358
    Blog Entries
    22
    Hi Hank,

    a "WebView" can contain HTML web content. It's up to your ingenuity how that looks and performs.

    If you look in the example_smartgrid sample app I have embedded an image, a long varchar (memo), a google chart, and a form in the grid cells.

    Name:  Screen Shot 2019-01-28 at 9.00.19 AM.jpg
Views: 823
Size:  93.3 KB
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,187
    Hi Barry,

    am I correct in thinking that using a webview in a grid column custom cell display would require components, which are on the roadmap?

    thanks,

    Hank

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,358
    Blog Entries
    22
    Hi Hank,

    No you can create a container, add a WebView to it and render a dynamic (.rsp .jssp) or static html in it right now.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  5. #5
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,187
    Ah, exactly what I needed to know: that a webview can be added to a container.

    thanks,

    Hank

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us