[Dojo-interest] Error clearing data from FilteringTable

Tom Trenka dojo-interest at dept-z.com
Sun Feb 11 11:42:25 MST 2007


A link to a web server you are working with, that's public, so that we can
come and take a look and see what's going on.  In other words, a URL.

It's much easier to see things when that's all that's there (as opposed to
trying to see it in an email).

trt


Soe Moe Kyaw @ Stephen Wang wrote:
> 
> I have removed the ContentPane but the error is still there.  You mean, a
> link? You mean working link with dojo? or just html page?
> 
> On 2/11/07, Tom Trenka <dojo-interest at dept-z.com> wrote:
>>
>>
>> Attachments do not work for some people; a lot of us use Nabble for
>> viewing
>> and responding to mails on this list, and your code inclusion simply
>> throws
>> errors.
>>
>> A much better method of showing something is to put up a link.
>>
>> That being said, the immediate error I did see with the attachment is
>> that
>> you're working inside of a ContentPane, and I know that a lot of people
>> think that they are getting FilteringTable errors when in reality they
>> are
>> dealing with a ContentPane issue.  If you put up a link I might be able
>> to
>> see what you're talking about.
>>
>> Also, the version of Dojo you are using would be very helpful.
>>
>> trt
>>
>>
>> Soe Moe Kyaw @ Stephen Wang wrote:
>> >
>> > No, the table is not rendered and there is object error.  See the
>> > attachment.
>> >
>> > On 2/11/07, Tom Trenka <dojo-interest at dept-z.com> wrote:
>> >>
>> >>
>> >> Um.  Isn't that what you'd expect?  You clear out the data of the
>> >> underlying
>> >> store and the table is re-rendered with 0 rows?
>> >>
>> >> trt
>> >>
>> >>
>> >> Soe Moe Kyaw @ Stephen Wang wrote:
>> >> >
>> >> > Hi, all
>> >> >
>> >> > I have an object error in clearing data from FilteringTable.
>> >> >
>> >> > _table.store.clearData();
>> >> >
>> >> > After clearing the data, the number of rows returns 0 but the table
>> is
>> >> > not rendered/
>> >> >
>> >> > --
>> >> > Regards;
>> >> > Soe Moe Kyaw @ Stephen Wang
>> >> > _______________________________________________
>> >> > Dojo FAQ: http://dojo.jot.com/FAQ
>> >> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> >> > Dojo-interest at dojotoolkit.org
>> >> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Error-clearing-data-from-FilteringTable-tf3204512.html#a8906562
>> >> Sent from the Dojo mailing list archive at Nabble.com.
>> >>
>> >> _______________________________________________
>> >> Dojo FAQ: http://dojo.jot.com/FAQ
>> >> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> >> Dojo-interest at dojotoolkit.org
>> >> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>> >>
>> >
>> >
>> >
>> > --
>> > Regards;
>> > Soe Moe Kyaw @ Stephen Wang
>> >
>> >
>> >
>> >
>> >
>> >               test_dojo_filteringtable
>> >
>> >
>> >
>> >
>> >                       .table{
>> >                               font-family: Geneva, Arial, Helvetica,
>> sans-serif;
>> >                               font-size: 13px;
>> >                               width: 100%;
>> >                               border:1px solid #ccc;
>> >                               border-collapse: collapse;
>> >                               cursor: default;
>> >                       }
>> >
>> >                       .table td,
>> >                       .table th{
>> >                               padding: 2px;
>> >                               font-weight: normal;
>> >                       }
>> >
>> >                       .table thead td, table thead th{
>> >                               text-align: left;
>> >                               background-image: url(ft-head.gif);
>> >                               background-repeat:no-repeat;
>> >                               background-position:top right;
>> >                       }
>> >
>> >                       .table thead td.selectedUp, table thead
>> th.selectedUp {
>> >                               background-image:url(ft-headup.gif);
>> >                       }
>> >
>> >                       .table thead td.selectedDown, table thead
>> th.selectedDown {
>> >                               background-image:url(ft-headdown.gif);
>> >                       }
>> >
>> >                       .table tbody tr td{
>> >                               border-bottom:1px solid #ddd;
>> >                       }
>> >                       .table tbody tr.alt td{
>> >                               background: #e9eff5;
>> >                       }
>> >                       .table tbody tr.selected td{
>> >                               background: yellow;
>> >                       }
>> >
>> >                       .table tbody tr:hover td{
>> >                               background: #a6c2e7;
>> >                       }
>> >                       .table tbody tr.selected:hover td{
>> >                               background:#ff9;
>> >                       }
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >                       Name
>> >
>> >
>> >
>> >                                       Aaron
>> >                                       Jack
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Dojo FAQ: http://dojo.jot.com/FAQ
>> > Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> > Dojo-interest at dojotoolkit.org
>> > http://dojotoolkit.org/mailman/listinfo/dojo-interest
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Error-clearing-data-from-FilteringTable-tf3204512.html#a8911789
>> Sent from the Dojo mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Dojo FAQ: http://dojo.jot.com/FAQ
>> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
>> Dojo-interest at dojotoolkit.org
>> http://dojotoolkit.org/mailman/listinfo/dojo-interest
>>
> 
> 
> 
> -- 
> Regards;
> Soe Moe Kyaw @ Stephen Wang
> 
> _______________________________________________
> Dojo FAQ: http://dojo.jot.com/FAQ
> Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
> Dojo-interest at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-interest
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-clearing-data-from-FilteringTable-tf3204512.html#a8913365
Sent from the Dojo mailing list archive at Nabble.com.



More information about the Dojo-interest mailing list