I think you are talking about custom field type.
Looks like you are talking about something that cannot be done with standard field types thus you will have to create your own custom field type for that
How to create custom field type
- Implement your custom field
public class CustomField : Edit
protected override void DoRender(HtmlTextWriter output)
Attributes["placeholder"] = Translate.Text(Placeholder);
string str = " type=\"hidden\"";
output.Write("<input" + ControlAttributes + str + ">");
// render your custom control here
Now you have to build your own HTML with rows, columns and then store a raw value of the field in
Perhaps you will have to
Value property from the base class to properly serialise/deserialize stored value.
As you probably know each field value can be expressed as Raw Value. Idea is that your field raw value could be for example:
then in C# code, you need to properly render those values as rows/columns. This is an example, I don't know what you want to store there.
- Register your custom field with config
<source mode="on" namespace="Sitecore.Playground.Fields.FieldTypes" assembly="Sitecore.Playground" prefix="myCustomPrefix" />
Create field type item in core database
/sitecore/system/Field types/Developer Types/My Custom field
Control field with this value:
This blog post might be useful for you: