First of all i would like to give thanks to Anees Ansari and Mey Meenakshisundaram at Microsoft for their input.
I have been playing around with EP 2012 for one year now and few weeks ago I decided I wanted to try out the new AxHierarchicalGridView. I opened my Ax 2012 VPC started Visual Studio and created a new Ax web user control to hold my AxHierarchicalGridView control.
At first I wondered if the grid would support display of sales table information with the sales table as header and the lines as sub rows in the grid. This was not working so I started to wonder how the data model behind the grid should be. If few trials which all failed I contacted Mey Meenakshisundaram at Microsoft to get some information on how to use this control. He forwarded the request to Anees Ansari Product Manager at Microsoft - Web Platform and Standards Team.
Anees contacted me and we setup a live meeting where he would demonstrate the use of the control and how the data model should be.
And the answer was so easy; the grid expects all the data to be in the same table such as the project table (ProjTable). And the grid is intended to be used for the project module and display project information. Each project can have a parent project specified with the ParentId on the project record and that’s the trick.
With this new information I realized it would be very easy to use this grid and I have created a simple demo.
Here is the project list structured according to the ProjId/ParentId relation setup in the ProjTable
I leave it up to you to play around with other properties such as indentation and other cosmetical things.
I have been playing around with EP 2012 for one year now and few weeks ago I decided I wanted to try out the new AxHierarchicalGridView. I opened my Ax 2012 VPC started Visual Studio and created a new Ax web user control to hold my AxHierarchicalGridView control.
At first I wondered if the grid would support display of sales table information with the sales table as header and the lines as sub rows in the grid. This was not working so I started to wonder how the data model behind the grid should be. If few trials which all failed I contacted Mey Meenakshisundaram at Microsoft to get some information on how to use this control. He forwarded the request to Anees Ansari Product Manager at Microsoft - Web Platform and Standards Team.
Anees contacted me and we setup a live meeting where he would demonstrate the use of the control and how the data model should be.
And the answer was so easy; the grid expects all the data to be in the same table such as the project table (ProjTable). And the grid is intended to be used for the project module and display project information. Each project can have a parent project specified with the ParentId on the project record and that’s the trick.
With this new information I realized it would be very easy to use this grid and I have created a simple demo.
Here is the project list structured according to the ProjId/ParentId relation setup in the ProjTable
I simply used the EPProjTableList DataSet as a data source for the demo
And this is the markup for the control
These are the properties that need to be set
Comments
Post a Comment