Message from discussion
Sortable Rows in GridField
Received: by 10.68.220.230 with SMTP id pz6mr13215997pbc.3.1338889830188;
Tue, 05 Jun 2012 02:50:30 -0700 (PDT)
X-BeenThere: silverstripe-dev@googlegroups.com
Received: by 10.68.195.100 with SMTP id id4ls16787893pbc.8.gmail; Tue, 05 Jun
2012 02:50:29 -0700 (PDT)
Received: by 10.68.219.170 with SMTP id pp10mr13216323pbc.1.1338889829591;
Tue, 05 Jun 2012 02:50:29 -0700 (PDT)
Received: by 10.68.219.170 with SMTP id pp10mr13216322pbc.1.1338889829573;
Tue, 05 Jun 2012 02:50:29 -0700 (PDT)
Return-Path: <i...@silverstripe.com>
Received: from mail-pz0-f47.google.com (mail-pz0-f47.google.com [209.85.210.47])
by gmr-mx.google.com with ESMTPS id iq5si552701pbc.1.2012.06.05.02.50.29
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 05 Jun 2012 02:50:29 -0700 (PDT)
Received-SPF: pass (google.com: domain of i...@silverstripe.com designates 209.85.210.47 as permitted sender) client-ip=209.85.210.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of i...@silverstripe.com designates 209.85.210.47 as permitted sender) smtp.mail=i...@silverstripe.com
Received: by dalh21 with SMTP id h21so7221503dal.6
for <silverstripe-dev@googlegroups.com>; Tue, 05 Jun 2012 02:50:29 -0700 (PDT)
d=google.com; s=20120113;
h=from:mime-version:content-type:subject:date:in-reply-to:to
:references:message-id:x-mailer:x-gm-message-state;
bh=FadN/rRkbQYtBMXQ/d4ppM+NlULNdS7Jq42VHE/H9JQ=;
b=OmOuxDRFU5xBwn5Awz+ZkLcFLv2qaM/JIxz0kAG2K1IVRvPRnWDF4ImftDvG1BUL61
NZBbdEuLZIRV+9QvXuVVHJpJdmvHXGsfFbUcuAG4qoS58LSOrzhrp1Ay73UR4aQKCMtv
jHHg5KSp/vZPAze59nMEViNO8UlYnGoPR9EtdZPID1yxuM3At79B4/JCSeGgrte+LFF9
NtMU/CG0L3dFfPzqVc/dLmSDNL7TNI2rV+L1kRIU9HdJWh/BPBYUCcIfskBhg/f/P8e+
zz7E71SbBqYIlIAs0tnjNXGgbWTAe6R/aYHaUKWO/f9KZEebiECDEIPo3N37RraIGuO3
LFlw==
Received: by 10.68.189.65 with SMTP id gg1mr36607369pbc.10.1338889829371;
Tue, 05 Jun 2012 02:50:29 -0700 (PDT)
Return-Path: <i...@silverstripe.com>
Received: from [10.0.1.3] (ip-109-91-80-19.unitymediagroup.de. [109.91.80.19])
by mx.google.com with ESMTPS id wi8sm1855770pbc.11.2012.06.05.02.50.26
(version=SSLv3 cipher=OTHER);
Tue, 05 Jun 2012 02:50:27 -0700 (PDT)
From: Ingo Schommer <i...@silverstripe.com>
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: multipart/alternative; boundary="Apple-Mail=_0ABB5AFD-6D50-4E1C-A759-C0BD00785527"
Subject: Re: [silverstripe-dev] Sortable Rows in GridField
Date: Tue, 5 Jun 2012 11:50:24 +0200
In-Reply-To: <a545f5f9-5da1-4108-950e-666a15d0b2a1@googlegroups.com>
To: silverstripe-dev@googlegroups.com
References: <12747659.8.1336585627566.JavaMail.geo-discussion-forums@ynmm21> <9ff70119-5436-4c14-851d-ec2268406415@googlegroups.com> <a545f5f9-5da1-4108-950e-666a15d0b2a1@googlegroups.com>
Message-Id: <94F3ACA9-2B40-4E8C-954E-846B8D2A4...@silverstripe.com>
X-Mailer: Apple Mail (2.1257)
X-Gm-Message-State: ALoCoQkABW51XrEaGu9tklwkL6imMAxj9kWP+QqZ9lKkxbM1P5iYGNetrEE+S0QLdVeyCoPgjGF4
--Apple-Mail=_0ABB5AFD-6D50-4E1C-A759-C0BD00785527
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1
Hey there, we've missed our window of opportunity for 3.0 I think,
mostly due to us being useless in responding/reviewing rather than your =
work :)
=46rom what I understand, it serves fine as a module for now, right?
It'll be good to get some real world usage out of it, and we can =
reconsider for 3.1.
Thanks again for your awesome work!
Ingo
On 5/06/2012, at 12:34 AM, UndefinedOffset wrote:
> Hey Ingo,
>=20
> Did you still want to try and merge this into the core?
>=20
> On Monday, May 28, 2012 12:42:54 PM UTC-3, UndefinedOffset wrote:
> Just poking about this, I've updated the JS to work with the changes =
in 3.0 Beta 3 and things (aside from a super minor style issue) are =
working fine again.
>=20
> On Wednesday, May 9, 2012 2:47:07 PM UTC-3, UndefinedOffset wrote:
> I noticed some discussion on here about having the ability to sort =
data objects in grid fields, I've been toying around with this a little =
bit over the day and have come up with something that seems to be =
working well for me in my testing =
https://github.com/UndefinedOffset/SortableGridField. Right now I have =
it as its own module but I'm wondering if it's something better suited =
to be merged into the core of SS 3.0?
>=20
> It uses some code based off of UncleCheese's SortableDataObject for =
managing what classes are sortable. It functions very similar once the =
component is added to the grid field, it adds a checkbox to the grid =
field then removes pagination, filtering, and the sortable headers =
components when the box is checked allowing for the sort order to be =
easily determined. Sorting is done via drag-n-drop using jQuery ui which =
seems to be always loaded in the cms anyways.
>=20
> --=20
> You received this message because you are subscribed to the Google =
Groups "SilverStripe Core Development" group.
> To view this discussion on the web visit =
https://groups.google.com/d/msg/silverstripe-dev/-/yPNdjGhsC-EJ.
> To post to this group, send email to =
silverstripe-dev@googlegroups.com.
> To unsubscribe from this group, send email to =
silverstripe-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at =
http://groups.google.com/group/silverstripe-dev?hl=3Den.
--Apple-Mail=_0ABB5AFD-6D50-4E1C-A759-C0BD00785527
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1
<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey =
there, we've missed our window of opportunity for 3.0 I =
think,<div>mostly due to us being useless in responding/reviewing =
rather than your work :)</div><div>=46rom what I understand, it =
serves fine as a module for now, right?</div><div>It'll be good to get =
some real world usage out of it, and we can reconsider for =
3.1.</div><div><br></div><div>Thanks again for your awesome =
work!</div><div>Ingo</div><div><br></div><div><div><div>On 5/06/2012, at =
12:34 AM, UndefinedOffset wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">Hey =
Ingo,<br><br>Did you still want to try and merge this into the =
core?<br><br>On Monday, May 28, 2012 12:42:54 PM UTC-3, UndefinedOffset =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: =
0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Just poking about =
this, I've updated the JS to work with the changes in 3.0 Beta 3 and =
things (aside from a super minor style issue) are working fine =
again.<br><br>On Wednesday, May 9, 2012 2:47:07 PM UTC-3, =
UndefinedOffset wrote:<blockquote class=3D"gmail_quote" =
style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc =
solid;padding-left:1ex">I noticed some discussion on here about having =
the ability to sort data objects in grid fields, I've been toying around =
with this a little bit over the day and have come up with something that =
seems to be working well for me in my testing <a =
href=3D"https://github.com/UndefinedOffset/SortableGridField" =
target=3D"_blank">https://github.com/<wbr>UndefinedOffset/<wbr>SortableGri=
dField</a>. Right now I have it as its own module but I'm wondering if =
it's something better suited to be merged into the core of SS =
3.0?<br><br>It uses some code based off of UncleCheese's =
SortableDataObject for managing what classes are sortable. It functions =
very similar once the component is added to the grid field, it adds a =
checkbox to the grid field then removes pagination, filtering, and the =
sortable headers components when the box is checked allowing for the =
sort order to be easily determined. Sorting is done via drag-n-drop =
using jQuery ui which seems to be always loaded in the cms =
anyways.<br></blockquote></blockquote><div><br =
class=3D"webkit-block-placeholder"></div>
-- <br>
You received this message because you are subscribed to the Google =
Groups "SilverStripe Core Development" group.<br>
To view this discussion on the web visit <a =
href=3D"https://groups.google.com/d/msg/silverstripe-dev/-/yPNdjGhsC-EJ">h=
ttps://groups.google.com/d/msg/silverstripe-dev/-/yPNdjGhsC-EJ</a>.<br>=20=
To post to this group, send email to <a =
href=3D"mailto:silverstripe-dev@googlegroups.com">silverstripe-dev@googleg=
roups.com</a>.<br>
To unsubscribe from this group, send email to <a =
href=3D"mailto:silverstripe-dev+unsubscribe@googlegroups.com">silverstripe=
-dev+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a =
href=3D"http://groups.google.com/group/silverstripe-dev?hl=3Den">http://gr=
oups.google.com/group/silverstripe-dev?hl=3Den</a>.<br>
</blockquote></div><br></div></body></html>=
--Apple-Mail=_0ABB5AFD-6D50-4E1C-A759-C0BD00785527--