Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
Grid & Sub-Grid Issue
28/02/2012
15:04
Avatar
yashmangupta
Singapore
Member
Members
Forum Posts: 6
Member Since:
26/08/2011
sp_UserOfflineSmall Offline

Hi,

I have a main grid say MG with subgrid as SG. The MG loads the data from Table A (refer below) and the SG loads from Table B when the user expands the MG using + icon. The SG works fine but the issue occurs when I expand the MG's row 1 and select the SG's Row 2 which inturn selects the MG's row 2 which should not have happened.

I cannot attach the picture as there is no option available in this editor. I have tried taking code from the example, but the issue still exist. Hope anyone can help me on this.

The MG's code returned in XML is:

<?xml version="1.0" encoding="utf-8"?>

<rows>

<page>1</page>

<total>1</total>

<records>2</records>

<row id="1">

<cell>1</cell>

<cell>This is a test</cell>

<cell>This is a test description</cell>

</row>

<row id="2">

<cell>2</cell>

<cell>This is a test again</cell>

<cell>This is a test description again</cell>

</row>

</rows>

where as for SG's the XML code returned is when the MG row id 1 is expanded

<?xml version="1.0" encoding="utf-8"?>

<rows>

<page>1</page>

<total>1</total>

<records>2</records>

<row id="1">

<cell>1</cell>

<cell>Testing</cell>

</row>

 

<row id="2">

<cell>2</cell>

<cell>Training</cell>

</row>

</rows>


Table A

PK_ColID = 1

tTitle = "This is a test"

tDesc = "This is a test description"

PK_ColID = 2

tTitle = "This is a test again"

tDesc = "This is a test description again"

Table B

RecordID = 1

FK_ColID = 1

tMode = "Testing"

RecordID = 2

FK_ColID = 1

tMode = "Training"

Yashman Gupta

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
41 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information