emi_sastra
asked on
DRILL DOWN DATAGRIDVIEW
Hi All,
I want to have a custom drill down datagridview.
How could I do it ?
Thank you.
I want to have a custom drill down datagridview.
How could I do it ?
Thank you.
ASKER
Hi Avinash_Desai,
I don't know how to code it.
Would you please provide code how to do it?
Thank you.
I don't know how to code it.
Would you please provide code how to do it?
Thank you.
Hi
Sorry for the late reply
Please refer the file attached for the code and follow the below steps
1. open the file Form1.vb in text file and copy entire coding
2. Create a new Project and new form and paste the code after adding the Datagriview to the Form
and name the Datagridview as DVGDrillDown
3. Set the DVGDrillDown properties
AutogenerateRows=False
and make it read only
Still any problem please let me know
If i am wrong let me know
Regards
Avinash Desai Form1.txt
Sorry for the late reply
Please refer the file attached for the code and follow the below steps
1. open the file Form1.vb in text file and copy entire coding
2. Create a new Project and new form and paste the code after adding the Datagriview to the Form
and name the Datagridview as DVGDrillDown
3. Set the DVGDrillDown properties
AutogenerateRows=False
and make it read only
Still any problem please let me know
If i am wrong let me know
Regards
Avinash Desai Form1.txt
ASKER
I can not find AutogenerateRows property ?
Thank you.
Thank you.
Sorry check for
AllowUserToAddRows=False
Let me know the code working now?
AllowUserToAddRows=False
Let me know the code working now?
ASKER
I don't understand you code do.
I think you misunderstand my question ?
What I mean drill down is like a tree.
Thank you.
I think you misunderstand my question ?
What I mean drill down is like a tree.
Thank you.
hi
Then check out this link
http://blogs.msdn.com/b/markrideout/archive/2006/01/08/510700.aspx
Regards
Avinash
Then check out this link
http://blogs.msdn.com/b/markrideout/archive/2006/01/08/510700.aspx
Regards
Avinash
ASKER
I have checked this link but can not find the code provided there.
http://www.windowsforms.net/blogs/markrideout/treegridview.zip
Thank you.
http://www.windowsforms.net/blogs/markrideout/treegridview.zip
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's great.
Thank you very much for your help.
Thank you very much for your help.
Create a custom Control on the Row double Click event of the data gridview Create a new Gridview or Load the data to the same gridview using Case Statement.
Regards
Avinash Desai