signumsoftware / framework

Open Source framework for writing data-centric applications using the latest versions of .Net Core, C# (not-nullable), ASP.NET Web API, Typescript (strict), React, D3 and Sql Server or PostgreeSQL
https://www.signumsoftware.com/en/Framework
MIT License
221 stars 84 forks source link

Cell operation #568

Closed RezaNosratabad closed 2 years ago

RezaNosratabad commented 2 years ago

Possibility to add eligible operations as query columns

They will be rendered as cell operation button for this CanExecuteExpression is introduced in operation classes an operation with CanExecuteExpression is eligible or if it doesn't have CanExecute (state graph operations have implicit CanExecute)

olmobrutall commented 2 years ago

One thing. Didn’t you add a new SubTokenOptions for CanOperation? What is the behavior of the two new tokens when filtering/ordering/adding as column?

rezanos commented 2 years ago

Really awesome PR 🤩 the code looks perfect!

It's My Pleasure! This would haven't be so without your great guidance 🙏

rezanos commented 2 years ago

One thing. Didn’t you add a new SubTokenOptions for CanOperation? What is the behavior of the two new tokens when filtering/ordering/adding as column?

Yes 👍 I'm still working on it :)

MehdyKarimpour commented 2 years ago

Great feature, perfect 🥇