CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Table tree query and edit with dropdown

by tonyzhou » 25 Oct 2015 10:36

Hi, Everyone

I am using JQGRID Tree with dropdown list DataSource, please check out my demo.

There are three questions to ask:

1. when the extended column is clicked, it cannot be collapsed. See Figure 1

2. when the editor dialog is cancel at time, dropdown.Visible=true, as shown in Figure 2

3. when the data source is loaded, Is there any way to Dynamic Assign levelfieldname , isleaffielname and parentfieldname of the TreeGrid.

thank you.
You do not have the required permissions to view the files attached to this post.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by tonyzhou » 26 Oct 2015 11:46

No one answered my question……
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by Alexander Bulei » 26 Oct 2015 13:03

Hi tonyzhou,

by tonyzhou » 26 Oct 2015, 10:46

No one answered my question……


25 Oct 2015, 09:36


You have placed the question on 25 Oct, at Sunday...
What are you expect?
Please be patient and wait for answer, or Premium Support

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 29 Oct 2015 11:13

Hello tonyzhou,

Attached the simple demo, how to work with dataset.

Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by tonyzhou » 30 Oct 2015 10:16

Hello, Bulei,

Unfortunately, this is not what I want, you know.
Do you know what affect the promotion of CGDEVTOOLS?
----By yourself !!!


My No3 question is work by myself, it is easy.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by Jorge Sousa » 30 Oct 2015 15:50

Hello

As you can see in the demo we posted (that is installed MyDocuments\CgDevTools dureing installation),

you need to set these FieldNames:

IWCGJQGrid1.JQGridProviderDataSet.TreeOptions.IsLeafFieldName:= 'isleaf';
IWCGJQGrid1.JQGridProviderDataSet.TreeOptions.LevelFieldName:= 'level';
IWCGJQGrid1.JQGridProviderDataSet.TreeOptions.ParentFieldName:= 'parentid';

That answers your question 1
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by tonyzhou » 05 Nov 2015 14:11

Thanks for Bulei and Jorge

But question 2 is not yet answered.

can you give me some Word of advice?
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by tonyzhou » 12 Nov 2015 03:50

I've come to see it every day, but question No2 seems very difficult, no one can answer.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by Alexander Bulei » 12 Nov 2015 10:29

Hi tonyzhou,

2. when the editor dialog is cancel at time, dropdown.Visible=true, as shown in Figure 2


You want to show the dropdown?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by tonyzhou » 12 Nov 2015 12:38

Hi, Bulei

I want to show DropDown with inline to grid in cell, not show alone after I click cancel.

but I click 'add' button of grid, then click cancel of dialog, the dropdown showed is disappeared.

what code can work as that?
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

Next

Return to JQGrid

cron

Who is online

Users browsing this forum: No registered users and 16 guests

Contact Us.