Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Pipe arisqltable into arijflexgrid
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Pipe arisqltable into arijflexgrid
#38208
Pipe arisqltable into arijflexgrid 11 Years, 8 Months ago Karma: 0
I am trying to pipe a SQL query directly from arisqltable to arijflexgrid. My coding looks like this -

Code:

{arijflexgrid resizable="false" striped="true" showToggleBtn="true"}
    {arisqltable}
        {arisqltablecolumns}
            {arisqltablecolumn id="Tipo"                      alias="Tipo"                 width="10"%}
            {arisqltablecolumn id="Marca"                    alias="Marca"               width="10%"}
            {arisqltablecolumn id="Descricao"               alias="Descricao"          width="15%"}
            {arisqltablecolumn id="Quantidade"            alias="Quantity"           width="5%"}
            {arisqltablecolumn id="EUA Custo"              alias="EUA Custo"        width="5%"}
            {arisqltablecolumn id="EUA Transporte"       alias="EUA Transporte" width="5%"}
            {arisqltablecolumn id="EUA Total"               alias="EUA Total"         width="5%"}
            {arisqltablecolumn id="BR Total"                 alias="BR Total"          width="5%"}
            {arisqltablecolumn id="Caixa"                     alias="Caixa"              width="5%"}
            {arisqltablecolumn id="Rastreamento"         alias="Rastreamento"   width="15%"}
            {arisqltablecolumn id="Envio"                      alias="Envio"               width="10%"}            
            {arisqltablecolumn id="Recebimento"           alias="Recebimento"    width="10%"}
        {/arisqltablecolumns}
        {arisqltablequery}
            SELECT * FROM purchases
        {/arisqltablequery}
    {/arisqltable}
{/arijflexgrid}



My problem is that with or without the width on arisqltablecolumn, the width of the header columns and the width of the data columns are out of sync. As in the attached example. How do I sync them up?

Thanks.

Walt

The administrator has disabled public write access.
 
#38210
Re:Pipe arisqltable into arijflexgrid 11 Years, 8 Months ago Karma: 760
Hello,

Could you provide a link to a page where we can see the problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#38215
Re:Pipe arisqltable into arijflexgrid 11 Years, 8 Months ago Karma: 0
It is localhost at the moment. That is why I included the screenshot. I'll try to move it online later today.
The administrator has disabled public write access.
 
Go to topPage: 1