customergrid or moviegrid #5385
Replies: 4 comments 2 replies
-
It is complex to explain, so it is better you should check its code Serenity.EntityGrid` and Serenity.EntityDialog That is clue |
Beta Was this translation helpful? Give feedback.
-
Normally to learn Serenity, you will need to read document, do tutorial, after that, learn Serenity example, there are a lot examples here http://serenity.is/demo , it will teach you how to work with Grid, Dialog, Editor... it has many cases normally we will use to build application, it is real treasure Then you can read wiki, wiki also has a lot examples Then search answer on Github/Issues, The last thing is ask here, you also check serenity source code to see how was it implemented. I trust that after you try above steps you won't ask question like "how this is done in code". Because the code is open, no one hide it, Serenity full code is available and everyone can read it very easy, your work is searching in this repository and check it Good luck man |
Beta Was this translation helpful? Give feedback.
-
the files entitygrid and entityDialog are on the source files before building...i can see that entitygrid.ts contain the definitions of the entitygrid Methods used in customergrid.ts right? |
Beta Was this translation helpful? Give feedback.
-
Serenity Framework has 2 main repositories on github:
The template contains Serenity "dist" package, "dist" package is buit and generated from code in Serenity repository (typescript code) In your project, they just include generated files (dist package, not full typescript code) so you just see javascript file and its typing, you can see in this path : \Scripts\serenity*.* (ex: Serenity.CoreLib.js) -- see attachment image Finally if you need to check code about any feature of Serenity in your application, the repository you need is https://github.com/serenity-is/Serenity |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm reading the movie tutorial...but i can't find out how the customergrid.ts or moviegrid.ts automatically create the new customer/movie button and the search button and refresh and column picker buttons... I have also looked at entitygrid but no use.. so, how this is done in code?.. how the customergrid .init() works?.. how to remove the search button for example?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions