Client Side Tabs weird behavior

Client Side Tabs weird behavior

  
Hi all,

I'm having a weird behavior with the tabs. I'm using jQuery to freeze columns and if not use the tabs works correctly, but if you add the Client Side Tabs widget, the table in first tab works well but the second does not, as you can see in attachment(problem.pgn). You can see that unconfigures table (tab "Previsão Receita") and freeze columns doesn't work.

Any ideas?

Thanks.
Hi Hugo,

It happens so many times that our custom jquery conflicts with the Outsystem Widgets Jquery, if you are using the custom Jquery then try to change the method names or by inspect element you can see which function/method is conflicting/not working fine, or you are getting any error there.

Thanks,
Manish Jawla
Manish Jawla wrote:
Hi Hugo,

It happens so many times that our custom jquery conflicts with the Outsystem Widgets Jquery, if you are using the custom Jquery then try to change the method names or by inspect element you can see which function/method is conflicting/not working fine, or you are getting any error there.

Thanks,
Manish Jawla
 Hi Manish,

Thanks for the help, but I am a little confuse. Change Juery method names? what do you mean? 
My code, that call's jquery is simple: 
""
<script type=""text/javascript"">
$(document).ready(function() {
    $('#"+TablePrevisaoReceita.Id+"').DataTable( {
        scrollY:        300,
        scrollX:        true,
        scrollCollapse: true,
        paging:         false,
        fixedColumns:   {leftColumns: 2}
    } );
} );
</script> 
"

 
Hi Hugo,

yes, your jquery is very simple. Can you plz share the sample oml, if you can?

Thanks,
Manish Jawla

Manish Jawla wrote:
Hi Hugo,

yes, your jquery is very simple. Can you plz share the sample oml, if you can?

Thanks,
Manish Jawla
 
 Yes i can.

Thanks a lot.
Hugo Castro wrote:
Manish Jawla wrote:
Hi Hugo,

yes, your jquery is very simple. Can you plz share the sample oml, if you can?

Thanks,
Manish Jawla
 
 Yes i can.

Thanks a lot.
Ir seems that there is no news. I've done so many attemps and nothing else occurs to me.
 

Hi Hugo,

M sorry too for late response, Your sample oml contains lots of references and m not able to publish that in my perosnal environment, can please create the replica of your issue in any Sample oml that only contain that page so that i identify the issue easily.

Thanks,
Manish Jawla
Hi Manish,

No need to sorry. Now I'm sorry by answering just now. I have been busy.
Here is a simple sample without references as you request.

Thanks,

Hugo Castro

Solution
Hi Hugo,

I have fxed it :) Please find the attached oml.
Check Your Expression2 i have changed it a bit.

Thanks,
Manish Jawla
Solution

Hi Manish,

Can't open it, your version is higher than mine :(

Can you please post the code?

By the way, thanks for helping me.

Many Thanks,
Hugo Castro
Hi Hugo,

Sure.

"
<script type=""text/javascript"">
$(document).ready(function() {
        $('#"+UserTable2.Id+"').dataTable().fnDestroy();
        $('#"+UserTable2.Id+"').DataTable( {
        scrollY:        300,
        scrollX:        true,
        scrollCollapse: true,
        searching:      false,
        lengthChange:   false,
        paging:         false,
        bInfo:          false,
        fixedColumns:   {leftColumns: 1}
    } );
 
$('.Tabs_Header li a').click(function(){
 $('#"+UserTable2.Id+"').dataTable().fnDestroy();
        $('#"+UserTable2.Id+"').DataTable( {
        scrollY:        300,
        scrollX:        true,
        scrollCollapse: true,
        searching:      false,
        lengthChange:   false,
        paging:         false,
        bInfo:          false,
        fixedColumns:   {leftColumns: 1}
    } );
 

} );

} );
</script>
"

replace this with your exp2 javascript.

Thanks,
Manish Jawla
Hi Manish,

First of all i like to thank you for the time you spend helping me.
I apllied the changes and it seems works just fine :).

Apparently you placed a post but doesn't appear here and the forum reply notification was "Hi Hugo, I have tested your oml, while switch to 2nd tab you click... "

Can you please post all text you wrote!

Many thanks!

Regards,

Hugo Castro

Hi Hugo,

Actually i spent lots of time while trying to fix this issue and  thought i can't do that and replied to you all my finding, but after posting that idea clicked on my mind and i fixed that issue :) thats why i deleted the previous post. Hugo your always welcome.

Thanks,
Manish Jawla