how can create custom action?
i want to create new action like edit,delete and after that use it in our tables
3 Replies
@Nima Hamidpour You can create custom actions using :
Inside of $table->actions([ //your action here ]) in
public static function table(Table $table) of the Resource.
Or you can create a new action class extending the base action class and use it on any table you like.
thanks
i do it and ok
but i want to craete action and call anywhere like other pre built actions
Have a look at the prebuilt actions. You can do the same thing.