Hi Manoj,
Here are my suggestions/answers for your queries.
Biding Grid to DataSource:
--------------------------
Have a look at our Setting up Data Binding section in our ''UsersGuide'' which you can find here : EssentialGrid->ASp.net->IntroducingEssentialGroupingGrid->UsingGridGroupingControl
Also look in to the Tutorial in our ''UsersGuide'' Lesson1:"Essential Grid DataBinding".
You can see that binding our grid is very similar like in normal ASP.NET grid control with minor changes.
Adding a Column dynamically to the grid :
----------------------------------------
You can initialize a unboundColumn and can make use of it to add columns dynamically by using the following code
[vb]
Me.GridGroupingControl1.TableDescriptor.UnboundFields.Add("UnBoundColumn")
Me.GridGroupingControl1.TableDescriptor.Columns.Add("UnBoundColumn")
Me.GridGroupingControl1.TableDescriptor.VisibleColumns.Add("UnBoundColumn")
you can fill this column either by handling the ''QueryValue'' event or ''QueryCellStyleInfo'' event.
Showing/Hiding Columns:
-----------------------
As mentioned in our UsersGuide section under EssentialGrid->Asp.Net->BasicConcepts Showing/Hiding Columns can be acheived as follows.
The VisibleColumns collection of the TableDescriptor is auto-populated from the Columns collection and all the
columns in that collection are automatically added to the VisibleColumns collection.
Clicking on the VisibleColumns property of the Grid''s TableDescriptor launches the GridVisibleColumnDescriptor
Collection Editor, where the column names of the columns that need to be displayed can be added or removed.
to do this in code.
[vb]
Me.GridGroupingControl1.TableDescriptor.VisibleColumns.Remove("ColumnName")
Adding a Hyperlink column to grid control:
------------------------------------------
It''s possible to add a hyperlink column as like in normal ASP.NET grid control using Item Template.
please have a look at our Formatting/Portfolio sample that ships with our Essentialgrid Install which uses Hyperlink column as templates. Also please look in to this
KB which explains this in detail.
Hope the above suggestions should help you a good start with our grid. Let us know if you have any more queries
Best Regards,
A.Sivakumar.