Skip to main content
se añadieron 68 caracteres en el cuerpo
Origen Enlace
user75901
user75901

En este punto del código agrega un botón personalizado con un enlace al sitio donde quieres redirigir: /* | ---------------------------------------------------------------------- | Add More Action Button / Menu | ---------------------------------------------------------------------- | @label = Label of action | @url = Target URL, you can use field alias. e.g : [id], [name], [title], etc | @icon = Font awesome class icon. e.g : fa fa-bars | @color = Default is primary. (primary, warning, succecss, info) | @showIf = If condition when action show. Use field alias. e.g : [id] == 1 | */ $this->addaction[] = [ 'label'=>'SetActive', 'url'=>'ruta-a-tu-pagina-externa', 'icon'=>'fa fa-check', 'color'=>'success', 'showIf'=>"[status] == 'pending'"];

/* 
        | ---------------------------------------------------------------------- 
        | Add More Action Button / Menu
        | ----------------------------------------------------------------------     
        | @label       = Label of action 
        | @url         = Target URL, you can use field alias. e.g : [id], [name], [title], etc
        | @icon        = Font awesome class icon. e.g : fa fa-bars
        | @color       = Default is primary. (primary, warning, succecss, info)     
        | @showIf      = If condition when action show. Use field alias. e.g : [id] == 1
        | 
        */
        $this->addaction[] = [
           'label'=>'SetActive',
           'url'=>'ruta-a-tu-pagina-externa',
           'icon'=>'fa fa-check',
           'color'=>'success',
           'showIf'=>"[status] == 'pending'"];

En este punto del código agrega un botón personalizado con un enlace al sitio donde quieres redirigir: /* | ---------------------------------------------------------------------- | Add More Action Button / Menu | ---------------------------------------------------------------------- | @label = Label of action | @url = Target URL, you can use field alias. e.g : [id], [name], [title], etc | @icon = Font awesome class icon. e.g : fa fa-bars | @color = Default is primary. (primary, warning, succecss, info) | @showIf = If condition when action show. Use field alias. e.g : [id] == 1 | */ $this->addaction[] = [ 'label'=>'SetActive', 'url'=>'ruta-a-tu-pagina-externa', 'icon'=>'fa fa-check', 'color'=>'success', 'showIf'=>"[status] == 'pending'"];

En este punto del código agrega un botón personalizado con un enlace al sitio donde quieres redirigir:

/* 
        | ---------------------------------------------------------------------- 
        | Add More Action Button / Menu
        | ----------------------------------------------------------------------     
        | @label       = Label of action 
        | @url         = Target URL, you can use field alias. e.g : [id], [name], [title], etc
        | @icon        = Font awesome class icon. e.g : fa fa-bars
        | @color       = Default is primary. (primary, warning, succecss, info)     
        | @showIf      = If condition when action show. Use field alias. e.g : [id] == 1
        | 
        */
        $this->addaction[] = [
           'label'=>'SetActive',
           'url'=>'ruta-a-tu-pagina-externa',
           'icon'=>'fa fa-check',
           'color'=>'success',
           'showIf'=>"[status] == 'pending'"];
se añadieron 782 caracteres en el cuerpo
Origen Enlace

revisa esto: How To Add More Action Button In Grid Data

$this->addaction[] = ['label'=>'Set Active','url'=>CRUDBooster:En este punto del código agrega un botón personalizado con un enlace al sitio donde quieres redirigir:mainpath('set-status/active/[id]'),'icon'=>'fa fa-check','color'=>'success','showIf'=>"[status] == 'pending'"]; /* | ---------------------------------------------------------------------- | Add More Action Button / Menu | ---------------------------------------------------------------------- | @label = Label of action | @url = Target URL, you can use field alias. e.g : [id], [name], [title], etc | @icon = Font awesome class icon. e.g : fa fa-bars | @color = Default is primary. (primary, warning, succecss, info) | @showIf = If condition when action show. Use field alias. e.g : [id] == 1 | */ $this->addaction[] = [ 'label'=>'SetActive', 'url'=>'ruta-a-tu-pagina-externa', 'icon'=>'fa fa-check', 'color'=>'success', 'showIf'=>"[status] == 'pending'"];

revisa esto: How To Add More Action Button In Grid Data

$this->addaction[] = ['label'=>'Set Active','url'=>CRUDBooster::mainpath('set-status/active/[id]'),'icon'=>'fa fa-check','color'=>'success','showIf'=>"[status] == 'pending'"];

revisa esto: How To Add More Action Button In Grid Data

En este punto del código agrega un botón personalizado con un enlace al sitio donde quieres redirigir: /* | ---------------------------------------------------------------------- | Add More Action Button / Menu | ---------------------------------------------------------------------- | @label = Label of action | @url = Target URL, you can use field alias. e.g : [id], [name], [title], etc | @icon = Font awesome class icon. e.g : fa fa-bars | @color = Default is primary. (primary, warning, succecss, info) | @showIf = If condition when action show. Use field alias. e.g : [id] == 1 | */ $this->addaction[] = [ 'label'=>'SetActive', 'url'=>'ruta-a-tu-pagina-externa', 'icon'=>'fa fa-check', 'color'=>'success', 'showIf'=>"[status] == 'pending'"];

Origen Enlace

revisa esto: How To Add More Action Button In Grid Data

$this->addaction[] = ['label'=>'Set Active','url'=>CRUDBooster::mainpath('set-status/active/[id]'),'icon'=>'fa fa-check','color'=>'success','showIf'=>"[status] == 'pending'"];