Closed shariquerik closed 11 months ago
Name | Link |
---|---|
Latest commit | a10874eef82fc062cf1a32e894240d30d900d3d3 |
Latest deploy log | https://app.netlify.com/sites/frappeui/deploys/652bb1996cee230008209c5b |
Deploy Preview | https://deploy-preview-105--frappeui.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Refactor PR: https://github.com/frappe/frappe-ui/pull/106
Simple List:
Dynamic List: You can add prefix/suffix icon to header & row items or add your own custom item
Selection Banner:
Without custom action buttons:
With custom action buttons:
You can also make your own custom selection banner
Column:
label
&key
is required in column object.width
is optional and it is used to set column width in list3
times a default column then add3
. if width is not mentioned default will be1
300px
or12rem
align
is also optional. You can change the alignment of the content in the column by setting it as.start
orleft
(default)center
ormiddle
end
orright
You can add more attributes which can be used to render custom column header items.
Row
The row object must contain a unique_key which was mentioned in ListView
row-key
You can either add all row fields in a separate
row
object or just add them in directly if the fieldnames doesn't conflict withroute
oronClick
E.g. 1E.g. 2
You can also add an object for the field value but make sure it has a
label
attribute which holds the actual value to be shownClick action: Add route or onClick event in row object
route: { name: 'User', params: { userId: 2 } }
onClick: () => console.log('John Doe was clicked')