Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Add custom attributes as a column in Ajax UI
Last Post 09/27/2012 2:19 PM by Peter Donker. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Raymond Kwok
New Member
New Member
Posts:3


--
09/21/2012 11:49 AM
I would like to add custom attributes as a column in the grid in Ajax UI view, is it possible? Thanks.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/21/2012 1:27 PM
Yes, if you edit the ascx file yourself. You need to find the "grid" component. In that you'll find the various column definitions. You'll need to use "ea[attributeId]" as column name. More documentation about the component can be found on the CompponentArt site: www.componentart.com.

Peter
Raymond Kwok
New Member
New Member
Posts:3


--
09/25/2012 6:10 AM
Dear Peter,

I added following statement and it works in DMX 5.2.11.



But following error occur when I added the same statement in my another portal with DMX6:

A critical error has occurred. Column 'att3' not found in data source.

Could you please let me know the correct data field name?

Thanks.
Raymond Kwok
New Member
New Member
Posts:3


--
09/25/2012 6:13 AM
The statement is reposted here:

ComponentArt:GridColumn DataField="att3" HeadingText="Issue Date" FormatString="dd/MM/yyyy" DataType="System.DateTime" SortImageJustify="false" IsSearchable="False" Width="70" FixedWidth="true"

Thanks.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/27/2012 2:19 PM
Can you check the field "key" in DMX_Attributes? It should be that one and if there's nothing there default to "att"+attributeId

Peter
You are not authorized to post a reply.