Phanindra Kumar
Phanindra Kumar

Reputation: 169

How to add controls to a GridControl in devexpress?

How to add controls(like image,button etc) to a GridControl in devexpress?

Upvotes: 3

Views: 8350

Answers (3)

Rev
Rev

Reputation: 2265

If you install devexpress you can also see Demo-Center for example. (also online demo)

look for Grid-Columns

In Asp you got these:

enter image description here

Upvotes: 0

DevExpress Team
DevExpress Team

Reputation: 11366

If you mean ASP.NET ASPxGridView, there are two different solutions:

1) you can use different ASPxGridView columns kinds as it is explained in the Data Columns topic. However, generally, this only affects data representation when a certain data row is being edited. In this case, different editors are used for different columns.

2) since this is an ASP.NET grid, it allows a developer to use Templates. This is a very powerful approach which allows you to change the grid's lookandfeel significantly. Please take a look at the ASPxGridView demos and click the "Templates" command in the navigation panel. You will see some examples of how templates can be used in the ASPxGridView.

Upvotes: 1

Stecya
Stecya

Reputation: 23266

Those controls are called Repository Items. You can add them via GridControl Designer And assign particular Repository Item to column you want.

enter image description here

Upvotes: 1

Related Questions