Atividades de "yasin.hallak.89@gmail.com"

If you want buttons outside of the Datatable, you can directly add it to your .cshtml file as below:

<abp-card> 
    <abp-card-body> 
        <button class="btn btn-primary mb-3">My Button</button> 
        <abp-table striped-rows="true" id="MyTable" class="nowrap"></abp-table> 
    </abp-card-body> 
</abp-card> 

Also instead of this, you might want to use Page Toolbar Extensions.

I want to use the same buttons in Datatables Library so that I don't have to write any Implemenation for these buttons in the server-side .. it is Implemented by default with DataTables

you can just write this code in js :

$(document).ready(function() { $('#example').DataTable( { dom: 'Bfrtip', buttons: [ 'copy', 'csv', 'excel', 'pdf', 'print' ] } ); } );

Hi, you can use the rowAction and define a single item as below:

{ 
    //... 
    title: l('MyButton'), 
    target: 0, 
    rowAction: { 
        items: 
            [ 
                { 
                    text: l('MyButtonText'), 
                    visible: abp.auth.isGranted('MyPermissionGroup.Default'), //add permission 
                    action: function (data) { 
                        //your logic (when clicked the button) 
                    } 
                } 
            ] 
        } 
    } 
} 

This will be rendered as a button.

Hi EngincanV . but I want to use this button Like this screenshot below:

thank u ,but we have problem when add the User Entity as a Navigation Property of Another Entity . We tried the this blog post. https://community.abp.io/articles/abp-suite-how-to-add-the-user-entity-as-a-navigation-property-of-another-entity-furp75ex .

But,Our problem continues. We could not solve it.

the following pictures is from my module : our entity :

DbContextModelCreatingExtension :

DbContext

method CreateUser

but did'nt add to AbpUsers table in sql server

hi support . We are still waiting for this problem . Please solve our problem in the shortest time

thank u ,but we have problem when add the User Entity as a Navigation Property of Another Entity . We tried the this blog post. https://community.abp.io/articles/abp-suite-how-to-add-the-user-entity-as-a-navigation-property-of-another-entity-furp75ex .

But,Our problem continues. We could not solve it.

the following pictures is from my module : our entity :

DbContextModelCreatingExtension :

DbContext

method CreateUser

but did'nt add to AbpUsers table in sql server

hi I want to set link instead modal in datatable as following bellow :

can you give me solution please

Hi,

You can create a shared project, like xx.Domain.Shared for common settings.

Hi I mean I have some common entities between tow module like country entity

Do you prefer to create a new module for common entities?

Please consultation

I have two module one Recruitment and another HR ..

I have special settings for each of them and some common settings for them ..

Do you prefer to create a module for the settings and put all the settings in it , Or put the settings for each module in the same model

Hi,

Can you share the full HTTP request and response?

hi sorry for lating

  1. this is when I use tokenHeaderName and give me Status code :400 as shown in the following figure :

  1. this is when i use requestverificationtoken and give me status code :200 as shown in the following figure :

var tokenHeaderName = abp.security.antiForgery.tokenHeaderName; var token = abp.security.antiForgery.getToken();

hi give me Status code :400 as shown in the following figure :

but when rename tokenHeaderName to requestverificationtoken it work very well

thank u

Hi,

What happens when you use abp.security.antiForgery.tokenHeaderName and abp.security.antiForgery.getToken() in the browser's console tab?

Mostrando 71 até 80 de 83 registros
Made with ❤️ on ABP v8.2.0-preview Updated on março 25, 2024, 15:11