Re: Embedding %html within %table

2016-09-18 Thread Hyung Sung Shim
Hi Kevin.
Could you try https://github.com/apache/zeppelin/pull/1433 ?
It would be great if you could let me know the result.
Thanks.

2016-09-17 10:15 GMT+09:00 moon soo Lee :

> I'm not sure since when, but %html inside of the cell doesn't work if it
> is first column. If you add any other column which is not using %html on
> left, table will be rendered correctly.
>
> Hope this helps
>
> Thanks,
> moon
>
>
> On Fri, Sep 16, 2016 at 2:21 PM Kevin Niemann 
> wrote:
>
>> According to the example here https://zeppelin.apache.
>> org/docs/0.6.1/displaysystem/basicdisplaysystem.html#table it is
>> possible to use %html within a %table paragraph and get benefits of both.
>> However when I run that it appears to render as HTML only and no native
>> table view.
>>
>>
>> Is my syntax incorrect or does anyone else have this same issue? e.g.
>>
>>
>> print(s"""%table
>>
>> name\tsize\tquantity
>>
>> %html sun\t100\t50
>>
>> %html > />moon\t10\t20""")
>>
>>
>> Thanks,
>>
>> kevin
>>
>


Re: Embedding %html within %table

2016-09-16 Thread moon soo Lee
I'm not sure since when, but %html inside of the cell doesn't work if it is
first column. If you add any other column which is not using %html on left,
table will be rendered correctly.

Hope this helps

Thanks,
moon

On Fri, Sep 16, 2016 at 2:21 PM Kevin Niemann 
wrote:

> According to the example here
> https://zeppelin.apache.org/docs/0.6.1/displaysystem/basicdisplaysystem.html#table
> it is possible to use %html within a %table paragraph and get benefits of
> both. However when I run that it appears to render as HTML only and no
> native table view.
>
>
> Is my syntax incorrect or does anyone else have this same issue? e.g.
>
>
> print(s"""%table
>
> name\tsize\tquantity
>
> %html  />sun\t100\t50
>
> %html  />moon\t10\t20""")
>
>
> Thanks,
>
> kevin
>


Embedding %html within %table

2016-09-16 Thread Kevin Niemann
According to the example here
https://zeppelin.apache.org/docs/0.6.1/displaysystem/basicdisplaysystem.html#table
it is possible to use %html within a %table paragraph and get benefits of
both. However when I run that it appears to render as HTML only and no
native table view.


Is my syntax incorrect or does anyone else have this same issue? e.g.


print(s"""%table

name\tsize\tquantity

%html sun\t100\t50

%html moon\t10\t20""")


Thanks,

kevin